Share via


IDSRefConsumer.GetExtendedType Method

Retrieves the GUID for the extended 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 GetExtendedType ( _
    drnidCurr As IntPtr _
) As Guid
Guid GetExtendedType(
    IntPtr drnidCurr
)
Guid GetExtendedType(
    IntPtr drnidCurr
)
abstract GetExtendedType : 
        drnidCurr:IntPtr -> Guid
function GetExtendedType(
    drnidCurr : IntPtr
) : Guid

Parameters

  • drnidCurr
    Type: System.IntPtr

    The DSREFNODEID of the node whose extended type is to be retrieved.

Return Value

Type: System.Guid
NOERROR if successful; otherwise, an unspecified failure code.

Remarks

Use GetExtendedType when GetType returns DSREFTYPE_EXTENDED. Call GetExtendedType to get the user-defined GUID for the actual object type. Extended types are used when the predefined types defined in Idsref.h are not sufficient.

.NET Framework Security

See Also

Reference

IDSRefConsumer Interface

Microsoft.VisualStudio.Data.Services.SupportEntities.Interop Namespace