Package.OnLoadOptions Method
Invoked by the package class when there are options to be read out of the solution file.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)
Syntax
'Declaration
Protected Overridable Sub OnLoadOptions ( _
key As String, _
stream As Stream _
)
protected virtual void OnLoadOptions(
string key,
Stream stream
)
protected:
virtual void OnLoadOptions(
String^ key,
Stream^ stream
)
abstract OnLoadOptions :
key:string *
stream:Stream -> unit
override OnLoadOptions :
key:string *
stream:Stream -> unit
protected function OnLoadOptions(
key : String,
stream : Stream
)
Parameters
key
Type: StringThe name of the option key to load.
stream
Type: StreamThe stream to load the option data from.
Remarks
This method can be overridden by the deriving class to load solution options.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.