Share via


IDiscoveryResult.GetRawXml Method

Returns the XML of the document specified in DiscoverUrl.

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

Syntax

'Declaration
Function GetRawXml ( _
    <OutAttribute> ByRef pbstrXML As String _
) As Integer
int GetRawXml(
    out string pbstrXML
)
int GetRawXml(
    [OutAttribute] String^% pbstrXML
)
abstract GetRawXml : 
        pbstrXML:string byref -> int 
function GetRawXml(
    pbstrXML : String
) : int

Parameters

  • pbstrXML
    Type: System.String%
    [out] Pointer to a string containing the XML.

Return Value

Type: System.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::GetRawXml(
   [out, retval] BSTR *pbstrXml
);

.NET Framework Security

See Also

Reference

IDiscoveryResult Interface

Microsoft.VisualStudio.Shell.Interop Namespace