Gets the package's IServiceProvider interface.
Namespace: Microsoft.VisualStudio.Package
Assembly: MPF.Project.NonShipping (in MPF.Project.NonShipping.dll)
Syntax
'宣言
Protected ReadOnly Property Site As IServiceProvider
'使用
Dim value As IServiceProvider
value = Me.Site
protected IServiceProvider Site { get; }
protected:
property IServiceProvider^ Site {
IServiceProvider^ get ();
}
protected function get Site () : IServiceProvider
Property Value
Type: System.IServiceProvider
The IServiceProvider represented by the package.
Permissions
- 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.