ModelingDocView.IsDataObjectSupported Method

Verifies whether an item in the Toolbox can be used with the document window.

Namespace:  Microsoft.VisualStudio.Modeling.Shell
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Shell (in Microsoft.VisualStudio.Modeling.Sdk.Shell.dll)

Syntax

'宣言
Public Overridable Function IsDataObjectSupported ( _
    data As IDataObject _
) As Boolean
'使用
Dim instance As ModelingDocView
Dim data As IDataObject
Dim returnValue As Boolean

returnValue = instance.IsDataObjectSupported(data)
public virtual bool IsDataObjectSupported(
    IDataObject data
)
public:
virtual bool IsDataObjectSupported(
    IDataObject^ data
)
public function IsDataObjectSupported(
    data : IDataObject
) : boolean

Parameters

Return Value

Type: System.Boolean

The item and its attributes.

Remarks

Toolbox items include shapes and connectors.

This method is an override for the explicit method, IsSupported.

Permissions

See Also

Reference

ModelingDocView Class

ModelingDocView Members

Microsoft.VisualStudio.Modeling.Shell Namespace