IReferenceInfo.GetNodeType Method

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
int GetNodeType(
    DiscoveryNodeType[] pType
)
int GetNodeType(
    [OutAttribute] array<DiscoveryNodeType>^ pType
)
abstract GetNodeType : 
        pType:DiscoveryNodeType[] byref -> int 
function GetNodeType(
    pType : DiscoveryNodeType[]
) : int

Parameters

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

See Also

Reference

IReferenceInfo Interface

Microsoft.VisualStudio.Shell.Interop Namespace