共用方式為


VCProject.ContainsFileEndingWith(String) Method

Definition

Indicates whether there is a file name that ends with a specified string.

public:
 bool ContainsFileEndingWith(System::String ^ EndingWith);
public:
 bool ContainsFileEndingWith(Platform::String ^ EndingWith);
bool ContainsFileEndingWith(std::wstring const & EndingWith);
[System.Runtime.InteropServices.DispId(918)]
public bool ContainsFileEndingWith (string EndingWith);
[<System.Runtime.InteropServices.DispId(918)>]
abstract member ContainsFileEndingWith : string -> bool
Public Function ContainsFileEndingWith (EndingWith As String) As Boolean

Parameters

EndingWith
String

A string.

Returns

true if there is a file name that contains the string specified in the EndingWith parameter; otherwise, false.

Attributes

Remarks

The comparison ignores culture and case.

Applies to