VCProject.ContainsFileEndingWith Method
Indicates whether there is a file name that ends with a specified string.
Namespace: Microsoft.VisualStudio.VCProjectEngine
Assembly: Microsoft.VisualStudio.VCProjectEngine (in Microsoft.VisualStudio.VCProjectEngine.dll)
Syntax
'宣告
Function ContainsFileEndingWith ( _
EndingWith As String _
) As Boolean
bool ContainsFileEndingWith(
string EndingWith
)
bool ContainsFileEndingWith(
[InAttribute] String^ EndingWith
)
abstract ContainsFileEndingWith :
EndingWith:string -> bool
function ContainsFileEndingWith(
EndingWith : String
) : boolean
Parameters
- EndingWith
Type: System.String
A string.
Return Value
Type: System.Boolean
true if there is a file name that contains the string specified in the EndingWith parameter; otherwise, false.
Remarks
The comparison ignores culture and case.
.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.