IDSRefConsumer.GetExtendedType Method

Retrieves the GUID for the extended type of a specified node.

Namespace:  Microsoft.VisualStudio.Data.Interop
Assembly:  Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)

Syntax

'宣言
Function GetExtendedType ( _
    drnidCurr As IntPtr _
) As Guid
'使用
Dim instance As IDSRefConsumer
Dim drnidCurr As IntPtr
Dim returnValue As Guid

returnValue = instance.GetExtendedType(drnidCurr)
Guid GetExtendedType(
    IntPtr drnidCurr
)
Guid GetExtendedType(
    [InAttribute] IntPtr drnidCurr
)
function GetExtendedType(
    drnidCurr : IntPtr
) : Guid

Parameters

  • drnidCurr
    Type: System.IntPtr

    [in] DSREFNODEID of the node whose extended type is to be retrieved.

Return Value

Type: System.Guid

Returns NOERROR if successful. Otherwise, it returns 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.

Permissions

See Also

Reference

IDSRefConsumer Interface

IDSRefConsumer Members

Microsoft.VisualStudio.Data.Interop Namespace