共用方式為


IVsProvideComponentEnumeration.WriteXMLToFile(String, String) Method

Definition

Writes a string of XML out to a file.

public:
 int WriteXMLToFile(System::String ^ bstrDesiredFile, [Runtime::InteropServices::Out] System::String ^ % pbstrActualFile);
int WriteXMLToFile(std::wstring const & bstrDesiredFile, [Runtime::InteropServices::Out] std::wstring const & & pbstrActualFile);
[System.Runtime.InteropServices.DispId(1610743808)]
public int WriteXMLToFile (string bstrDesiredFile, out string pbstrActualFile);
[<System.Runtime.InteropServices.DispId(1610743808)>]
abstract member WriteXMLToFile : string * string -> int
Public Function WriteXMLToFile (bstrDesiredFile As String, ByRef pbstrActualFile As String) As Integer

Parameters

bstrDesiredFile
String

[in] String containing XML to write out.

pbstrActualFile
String

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

Returns

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

Attributes

Remarks

COM Signature

From compsvcspkg.idl:

[C++]

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

Applies to