IDSRefConsumer.GetType Method
Retrieves the type of a specified node.
Namespace: Microsoft.VisualStudio.Data.Services.SupportEntities.Interop
Assembly: Microsoft.VisualStudio.Data.Services (in Microsoft.VisualStudio.Data.Services.dll)
Syntax
'Declaration
Function GetType ( _
drnidCurr As IntPtr _
) As __DSREFTYPE
__DSREFTYPE GetType(
IntPtr drnidCurr
)
__DSREFTYPE GetType(
IntPtr drnidCurr
)
abstract GetType :
drnidCurr:IntPtr -> __DSREFTYPE
function GetType(
drnidCurr : IntPtr
) : __DSREFTYPE
Parameters
drnidCurr
Type: System.IntPtrThe DSREFNODEID of the node whose type is to be retrieved.
Return Value
Type: Microsoft.VisualStudio.Data.Services.SupportEntities.Interop.__DSREFTYPE
NOERROR if successful; otherwise, an unspecified failure code.
Examples
C++
IDSRefConsumer* m_srpCurrentDSRef;
DSREFNODEID id;
DSREFTYPE type;
m_srpCurrentDSRef->GetType(id, &type);
.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.
See Also
Reference
Microsoft.VisualStudio.Data.Services.SupportEntities.Interop Namespace