共用方式為


VCProject.CanAddFilter(String) Method

Definition

Returns true if the specified filter can be added as a top-level filter or as a subfilter to the current filter.

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

Parameters

Filter
String

Required. The new filter to be added. The filter name must be unique within the current scope and valid.

Returns

true if the filter can be added; otherwise, false.

Attributes

Applies to