Compartilhar via


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

'Declaration
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

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

See Also

Reference

VCProject Interface

Microsoft.VisualStudio.VCProjectEngine Namespace