Compartir a través de


Package.IVsPersistSolutionOpts.ReadUserOptions(IStream, String) Method

Definition

Reads user options for a given solution.

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

Parameters

pStream
IStream

IStream object from which the VSPackage should read 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