IVsProject4::ContainsFileEndingWith Method (String^, Int32)
Visual Studio 2015
Determines whether the project contains a file with the specified ending.
Assembly: Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)
Parameters
- pszEndingWith
-
Type:
System::String^
The ending.
- pfDoesContain
-
Type:
System::Int32
[out] true if the project contains at least one file whose name ends with the given string, regardless of case.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
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.
Show: