Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Retrieves the type of a specified node.
Namespace:  Microsoft.VisualStudio.Data.Interop
Assembly:  Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)
Syntax
'Declaration
Function GetType ( _
    drnidCurr As IntPtr _
) As __DSREFTYPE
__DSREFTYPE GetType(
    IntPtr drnidCurr
)
__DSREFTYPE GetType(
    [InAttribute] IntPtr drnidCurr
)
abstract GetType : 
        drnidCurr:IntPtr -> __DSREFTYPE
function GetType(
    drnidCurr : IntPtr
) : __DSREFTYPE
Parameters
- drnidCurr 
 Type: System.IntPtr- [in] DSREFNODEID of the node whose type is to be retrieved. 
Return Value
Type: Microsoft.VisualStudio.Data.Interop.__DSREFTYPE
Returns NOERROR if successful. Otherwise, it returns an unspecified failure code.
Examples
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.