Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Determines whether the project contains a file with the specified ending.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)
Syntax
'Declaration
Function ContainsFileEndingWith ( _
pszEndingWith As String, _
<OutAttribute> ByRef pfDoesContain As Integer _
) As Integer
int ContainsFileEndingWith(
string pszEndingWith,
out int pfDoesContain
)
int ContainsFileEndingWith(
[InAttribute] String^ pszEndingWith,
[OutAttribute] int% pfDoesContain
)
abstract ContainsFileEndingWith :
pszEndingWith:string *
pfDoesContain:int byref -> int
function ContainsFileEndingWith(
pszEndingWith : String,
pfDoesContain : int
) : int
Parameters
pszEndingWith
Type: StringThe ending.
pfDoesContain
Type: Int32%[out] true if the project contains at least one file whose name ends with the given string, regardless of case.
Return Value
Type: Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
This method should be used only if the caller wants to ask whether such a value exists, but has no interest in the number of ITEMIDs of the matches, because the method returns immediately after finding a single match.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.