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.IntPtrThe 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
- 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