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
'Declaration
Function GetExtendedType ( _
drnidCurr As IntPtr _
) As Guid
Guid GetExtendedType(
IntPtr drnidCurr
)
Guid GetExtendedType(
[InAttribute] IntPtr drnidCurr
)
abstract GetExtendedType :
drnidCurr:IntPtr -> Guid
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.
.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.