IDiscoveryResult::GetDocumentXml Method (String^, String^)

 

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.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

int GetDocumentXml(
	String^ url,
	[OutAttribute] String^% pbstrXML
)

Parameters

url
Type: System::String^

[in] Specifies the URL of the document.

pbstrXML
Type: System::String^

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

Return Value

Type: System::Int32

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

From discoveryservice.idl:

HRESULT IDiscoveryResult::GetDocumentXml(
   [in] BSTR url,
   [out, retval] BSTR *pbstrXml
);
Return to top
Show: