Compartilhar via


IDiscoveryResult.GetDocumentXml(String, String) Method

Definition

Retrieves the XML of the document specified by the URL in the parameter list. This URL can point to SDL, XSD, disco or other file types.

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

Parameters

url
String

[in] Specifies the URL of the document.

pbstrXML
String

[out] Pointer to a string containing the XML of the document.

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::GetDocumentXml(  
   [in] BSTR url,  
   [out, retval] BSTR *pbstrXml  
);  

Applies to