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)

bool IToolboxService.IsSupported(
	Object serializedObject,
	ICollection filterAttributes
)

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.

Implements

IToolboxService.IsSupported(Object, ICollection)

ExceptionCondition
ArgumentNullException

serializedObject or filterAttributes is null.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft