共用方式為


IDiscoveryClientResult.GetReferenceTypeName(String) Method

Definition

Returns the type of a referenced document in a Web discovery document.

public:
 int GetReferenceTypeName([Runtime::InteropServices::Out] System::String ^ % pbstrReferenceTypeName);
int GetReferenceTypeName([Runtime::InteropServices::Out] std::wstring const & & pbstrReferenceTypeName);
public int GetReferenceTypeName (out string pbstrReferenceTypeName);
abstract member GetReferenceTypeName : string -> int
Public Function GetReferenceTypeName (ByRef pbstrReferenceTypeName As String) As Integer

Parameters

pbstrReferenceTypeName
String

[out] String containing the type of reference made in the document.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From designer.idl:

HRESULT IDiscoveryClientResult::GetReferenceTypeName(  
   [out, retval] BSTR * pbstrReferenceTypeName  
);  

Usage

Documents returned by a Web discovery process may contain references to other types of documents such as schemas, service descriptions, or other discovery documents. For more information, see DiscoveryClientResult.ReferenceTypeName Property.

Applies to