Package.IVsPersistSolutionOpts.ReadUserOptions(IStream, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- pszKey
- String
Name of the stream.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.