Share via


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.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0.dll)

Syntax

'Declaration
Public Overridable Function IsDataObjectSupported ( _
    data As IDataObject _
) As Boolean
public virtual bool IsDataObjectSupported(
    IDataObject data
)
public:
virtual bool IsDataObjectSupported(
    IDataObject^ data
)
abstract IsDataObjectSupported : 
        data:IDataObject -> bool  
override IsDataObjectSupported : 
        data:IDataObject -> bool
public function IsDataObjectSupported(
    data : IDataObject
) : boolean

Parameters

  • data
    Type: IDataObject

    The item to check.

Return Value

Type: Boolean
The item and its attributes.

Remarks

Toolbox items include shapes and connectors.

This method is an override for the method IsSupported.

.NET Framework Security

See Also

Reference

ModelingDocView Class

Microsoft.VisualStudio.Modeling.Shell Namespace