共用方式為


IVsRunningDocumentTable2 Interface

Represents the running document table (RDT) and provides additional functionality beyond the IVsRunningDocumentTable interface.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)

Syntax

'宣告
<GuidAttribute("CD68D3CF-7124-4D3A-AFED-3E305C2B7D0B")> _
<InterfaceTypeAttribute()> _
Public Interface IVsRunningDocumentTable2
'用途
Dim instance As IVsRunningDocumentTable2
[GuidAttribute("CD68D3CF-7124-4D3A-AFED-3E305C2B7D0B")]
[InterfaceTypeAttribute()]
public interface IVsRunningDocumentTable2
[GuidAttribute(L"CD68D3CF-7124-4D3A-AFED-3E305C2B7D0B")]
[InterfaceTypeAttribute()]
public interface class IVsRunningDocumentTable2
[<GuidAttribute("CD68D3CF-7124-4D3A-AFED-3E305C2B7D0B")>]
[<InterfaceTypeAttribute()>]
type IVsRunningDocumentTable2 =  interface end
public interface IVsRunningDocumentTable2

Remarks

This interface provides the ability for a package to close documents.

Notes to Implementers

This interface is implemented by the environment.

Notes to Callers

Obtain this interface from the IVsRunningDocumentTable interface, that in turn is obtained by calling the QueryService method on a site provider with the service ID IVsRunningDocumentTable and the interface GUID of the IVsRunningDocumentTable interface.

See Also

Reference

IVsRunningDocumentTable2 Members

Microsoft.VisualStudio.Shell.Interop Namespace