Freigeben über


Package.IVsPersistSolutionOpts.WriteUserOptions(IStream, String) Method

Definition

Writes user options for a given solution.

 virtual int Microsoft.VisualStudio.Shell.Interop.IVsPersistSolutionOpts.WriteUserOptions(Microsoft::VisualStudio::OLE::Interop::IStream ^ pStream, System::String ^ pszKey) = Microsoft::VisualStudio::Shell::Interop::IVsPersistSolutionOpts::WriteUserOptions;
 virtual int Microsoft.VisualStudio.Shell.Interop.IVsPersistSolutionOpts.WriteUserOptions(Microsoft::VisualStudio::OLE::Interop::IStream ^ pStream, Platform::String ^ pszKey) = Microsoft::VisualStudio::Shell::Interop::IVsPersistSolutionOpts::WriteUserOptions;
int Microsoft.VisualStudio.Shell.Interop.IVsPersistSolutionOpts.WriteUserOptions(Microsoft::VisualStudio::OLE::Interop::IStream const & pStream, std::wstring const & pszKey);
int IVsPersistSolutionOpts.WriteUserOptions (Microsoft.VisualStudio.OLE.Interop.IStream pStream, string pszKey);
abstract member Microsoft.VisualStudio.Shell.Interop.IVsPersistSolutionOpts.WriteUserOptions : Microsoft.VisualStudio.OLE.Interop.IStream * string -> int
override this.Microsoft.VisualStudio.Shell.Interop.IVsPersistSolutionOpts.WriteUserOptions : Microsoft.VisualStudio.OLE.Interop.IStream * string -> int
Function WriteUserOptions (pStream As IStream, pszKey As String) As Integer Implements IVsPersistSolutionOpts.WriteUserOptions

Parameters

pStream
IStream

IStream object to which the VSPackage writes the user-specific options.

pszKey
String

Name of the stream.

Returns

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

Implements

Applies to