IVsProvideComponentEnumeration::WriteXMLToFile Method (String^, String^)

 

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)

[DispIdAttribute(1610743808)]
int WriteXMLToFile(
	String^ bstrDesiredFile,
	[OutAttribute] String^% pbstrActualFile
)

Parameters

bstrDesiredFile
Type: System::String^

[in] String containing XML to write out.

pbstrActualFile
Type: System::String^

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

Return Value

Type: System::Int32

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

From compsvcspkg.idl:

[C++]

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