ClassViewNavigationInfo.IsDataPresent Method (IDataObject)
Verifies whether an element contains a project name, reference name, full name, and node type.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0.dll)
Syntax
'Declaração
Public Shared Function IsDataPresent ( _
data As IDataObject _
) As Boolean
public static bool IsDataPresent(
IDataObject data
)
public:
static bool IsDataPresent(
IDataObject^ data
)
static member IsDataPresent :
data:IDataObject -> bool
public static function IsDataPresent(
data : IDataObject
) : boolean
Parameters
- data
Type: System.Windows.Forms.IDataObject
The element.
Return Value
Type: System.Boolean
true if the element contains data; otherwise, false.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.