Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

VCProject.CanAddFilter Method

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.

Show:
© 2015 Microsoft