RunningDocumentTable Constructor
Initializes a new instance of the RunningDocumentTable class.
Namespace: Microsoft.VisualStudio.Shell
Assemblies: Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)
Syntax
'宣言
Public Sub New ( _
site As IServiceProvider _
)
'使用
Dim site As IServiceProvider
Dim instance As New RunningDocumentTable(site)
public RunningDocumentTable(
IServiceProvider site
)
public:
RunningDocumentTable(
IServiceProvider^ site
)
new :
site:IServiceProvider -> RunningDocumentTable
public function RunningDocumentTable(
site : IServiceProvider
)
Parameters
- site
Type: System.IServiceProvider
[in] An IServiceProvider object used to access services. This cannot be a null value.
Remarks
When this constructor is called, the RunningDocumentTable interface is obtained from the service provider.
.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.