共用方式為


IDiscoveryResult.GetRawXml(String) Method

Definition

Returns the XML of the document specified in DiscoverUrl(String, IDiscoveryResult).

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

Parameters

pbstrXML
String

[out] Pointer to a string containing the XML.

Returns

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

Remarks

COM Signature

From discoveryservice.idl:

HRESULT IDiscoveryResult::GetRawXml(  
   [out, retval] BSTR *pbstrXml  
);  

Applies to