Partager via


Package.OnLoadOptions Method

Invoked by the package class when there are options to be read out of the solution file.

Namespace:  Microsoft.VisualStudio.Shell
Assemblies:   Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)
  Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)

Syntax

'Déclaration
Protected Overridable Sub OnLoadOptions ( _
    key As String, _
    stream As Stream _
)
'Utilisation
Dim key As String
Dim stream As Stream

Me.OnLoadOptions(key, 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

Remarks

This method can be overridden by the deriving class to load solution options.

.NET Framework Security

See Also

Reference

Package Class

Package Members

Microsoft.VisualStudio.Shell Namespace