IVsProvideComponentEnumeration.WriteXMLToFile Method

Writes a string of XML out to a file.

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

Syntax

'Declaration
Function WriteXMLToFile ( _
    bstrDesiredFile As String, _
    <OutAttribute> ByRef pbstrActualFile As String _
) As Integer
int WriteXMLToFile(
    string bstrDesiredFile,
    out string pbstrActualFile
)
int WriteXMLToFile(
    [InAttribute] String^ bstrDesiredFile, 
    [OutAttribute] String^% pbstrActualFile
)
abstract WriteXMLToFile : 
        bstrDesiredFile:string * 
        pbstrActualFile:string byref -> int
function WriteXMLToFile(
    bstrDesiredFile : String, 
    pbstrActualFile : String
) : int

Parameters

  • bstrDesiredFile
    Type: String

    [in] String containing XML to write out.

  • pbstrActualFile
    Type: String%

    [out] Pointer to a string containing the XML as it was written out.

Return Value

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

Remarks

COM Signature

From compsvcspkg.idl:

[C++]

HRESULT IVsProvideComponentEnumeration::WriteXMLToFile(
   [in] BSTR bstrDesiredFile, 
   [out] BSTR* pbstrActualFile
);

.NET Framework Security

See Also

Reference

IVsProvideComponentEnumeration Interface

Microsoft.VisualStudio.Shell.Interop Namespace