IDiscoveryResult.GetDocumentXml Method
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)
Syntax
'Declaration
Function GetDocumentXml ( _
url As String, _
<OutAttribute> ByRef pbstrXML As String _
) As Integer
int GetDocumentXml(
string url,
out string pbstrXML
)
int GetDocumentXml(
[InAttribute] String^ url,
[OutAttribute] String^% pbstrXML
)
abstract GetDocumentXml :
url:string *
pbstrXML:string byref -> int
function GetDocumentXml(
url : String,
pbstrXML : String
) : int
Parameters
url
Type: String[in] Specifies the URL of the document.
pbstrXML
Type: String%[out] Pointer to a string containing the XML of the document.
Return Value
Type: Int32
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
);
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.