ToolboxService::IToolboxService::IsSupported Method (Object^, ICollection^)

 

Gets a value indicating whether the specified object, which represents a serialized toolbox item, matches the specified attributes.

Namespace:   System.Drawing.Design
Assembly:  System.Drawing.Design (in System.Drawing.Design.dll)

private:
virtual bool IsSupported(
	Object^ serializedObject,
	ICollection^ filterAttributes
) sealed = IToolboxService::IsSupported

Parameters

serializedObject
Type: System::Object^

The object that contains the ToolboxItem to retrieve.

filterAttributes
Type: System.Collections::ICollection^

An ICollection that contains the attributes to test the serialized object for.

Return Value

Type: System::Boolean

true if the object matches the specified attributes; otherwise, false.

Exception Condition
ArgumentNullException

serializedObject or filterAttributes is null.

.NET Framework
Available since 2.0
Return to top
Show: