共用方式為


IVsSimpleDocFactory Interface

Creates a doc data object from a given file and returns the requested interface of the document. The environment supplies a default implementation.

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

Syntax

'宣告
<GuidAttribute("9D0CA895-4F60-4DE8-980D-06AAD61CE88C")> _
<InterfaceTypeAttribute()> _
Public Interface IVsSimpleDocFactory
'用途
Dim instance As IVsSimpleDocFactory
[GuidAttribute("9D0CA895-4F60-4DE8-980D-06AAD61CE88C")]
[InterfaceTypeAttribute()]
public interface IVsSimpleDocFactory
[GuidAttribute(L"9D0CA895-4F60-4DE8-980D-06AAD61CE88C")]
[InterfaceTypeAttribute()]
public interface class IVsSimpleDocFactory
[<GuidAttribute("9D0CA895-4F60-4DE8-980D-06AAD61CE88C")>]
[<InterfaceTypeAttribute()>]
type IVsSimpleDocFactory =  interface end
public interface IVsSimpleDocFactory

Remarks

The IVsInvisibleEditor interface uses this interface if the requested file is not open.

See Also

Reference

IVsSimpleDocFactory Members

Microsoft.VisualStudio.Shell.Interop Namespace