ToolboxService::IToolboxService::IsSupported Method (Object^, ICollection^)
.NET Framework (current version)
Gets a value indicating whether the specified object, which represents a serialized toolbox item, matches the specified attributes.
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::Booleantrue if the object matches the specified attributes; otherwise, false.
| Exception | Condition |
|---|---|
| ArgumentNullException | serializedObject or filterAttributes is null. |
.NET Framework
Available since 2.0
Available since 2.0
Show: