共用方式為


IReferenceInfo.GetNodeType(DiscoveryNodeType[]) Method

Definition

Returns the type of node, the kind of information, for the discovery result.

public:
 int GetNodeType(cli::array <Microsoft::VisualStudio::Shell::Interop::DiscoveryNodeType> ^ pType);
public:
 int GetNodeType(Platform::Array <Microsoft::VisualStudio::Shell::Interop::DiscoveryNodeType> ^ pType);
int GetNodeType(std::Array <Microsoft::VisualStudio::Shell::Interop::DiscoveryNodeType> const & pType);
public int GetNodeType (Microsoft.VisualStudio.Shell.Interop.DiscoveryNodeType[] pType);
abstract member GetNodeType : Microsoft.VisualStudio.Shell.Interop.DiscoveryNodeType[] -> int
Public Function GetNodeType (pType As DiscoveryNodeType()) As Integer

Parameters

pType
DiscoveryNodeType[]

[out] Pointer to a DiscoveryNodeType enumeration value.

Returns

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  
);  

Applies to