VCProject.CanAddFilter Method (String)

 

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

Namespace:   Microsoft.VisualStudio.VCProjectEngine
Assembly:  Microsoft.VisualStudio.VCProjectEngine (in Microsoft.VisualStudio.VCProjectEngine.dll)

bool CanAddFilter(
	string Filter
)

Parameters

Filter
Type: System.String

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

Return Value

Type: System.Boolean

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

Return to top
Show: