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.
Returns the type of node, the kind of information, for the discovery result.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'Declaration
Function GetNodeType ( _
<OutAttribute> pType As DiscoveryNodeType() _
) As Integer
'Usage
Dim instance As IReferenceInfo
Dim pType As DiscoveryNodeType()
Dim returnValue As Integer
returnValue = instance.GetNodeType(pType)
int GetNodeType(
DiscoveryNodeType[] pType
)
int GetNodeType(
[OutAttribute] array<DiscoveryNodeType>^ pType
)
function GetNodeType(
pType : DiscoveryNodeType[]
) : int
Parameters
pType
Type: array<Microsoft.VisualStudio.Shell.Interop.DiscoveryNodeType[][out] Pointer to a DiscoveryNodeType enumeration value.
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From discoveryservice.idl:
HRESULT IReferenceInfo::GetNodeType(
[out, retval] DiscoveryNodeType *pType
);
.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.