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.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0.dll)
Syntax
'Declaration
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: IDataObjectThe element.
Return Value
Type: 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.