IToolboxService.IsSupported Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a value indicating whether the specified object which represents a serialized toolbox item can be used by the specified designer host.
Overloads
IsSupported(Object, ICollection) |
Gets a value indicating whether the specified object which represents a serialized toolbox item matches the specified attributes. |
IsSupported(Object, IDesignerHost) |
Gets a value indicating whether the specified object which represents a serialized toolbox item can be used by the specified designer host. |
IsSupported(Object, ICollection)
Gets a value indicating whether the specified object which represents a serialized toolbox item matches the specified attributes.
public:
bool IsSupported(System::Object ^ serializedObject, System::Collections::ICollection ^ filterAttributes);
public bool IsSupported (object serializedObject, System.Collections.ICollection filterAttributes);
abstract member IsSupported : obj * System.Collections.ICollection -> bool
Public Function IsSupported (serializedObject As Object, filterAttributes As ICollection) As Boolean
Parameters
- serializedObject
- Object
The object that contains the ToolboxItem to retrieve.
- filterAttributes
- ICollection
An ICollection that contains the attributes to test the serialized object for.
Returns
true
if the object matches the specified attributes; otherwise, false
.
Applies to
IsSupported(Object, IDesignerHost)
Gets a value indicating whether the specified object which represents a serialized toolbox item can be used by the specified designer host.
public:
bool IsSupported(System::Object ^ serializedObject, System::ComponentModel::Design::IDesignerHost ^ host);
public bool IsSupported (object serializedObject, System.ComponentModel.Design.IDesignerHost host);
abstract member IsSupported : obj * System.ComponentModel.Design.IDesignerHost -> bool
Public Function IsSupported (serializedObject As Object, host As IDesignerHost) As Boolean
Parameters
- serializedObject
- Object
The object that contains the ToolboxItem to retrieve.
- host
- IDesignerHost
The IDesignerHost to test for support for the ToolboxItem.
Returns
true
if the specified object is compatible with the specified designer host; otherwise, false
.