Partilhar via


IVsSimpleDocFactory Interface

Definition

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

public interface class IVsSimpleDocFactory
public interface class IVsSimpleDocFactory
__interface IVsSimpleDocFactory
[System.Runtime.InteropServices.ComConversionLoss]
[System.Runtime.InteropServices.Guid("9D0CA895-4F60-4DE8-980D-06AAD61CE88C")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsSimpleDocFactory
[System.Runtime.InteropServices.ComConversionLoss]
[System.Runtime.InteropServices.Guid("9D0CA895-4F60-4DE8-980D-06AAD61CE88C")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsSimpleDocFactory
[<System.Runtime.InteropServices.ComConversionLoss>]
[<System.Runtime.InteropServices.Guid("9D0CA895-4F60-4DE8-980D-06AAD61CE88C")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsSimpleDocFactory = interface
[<System.Runtime.InteropServices.ComConversionLoss>]
[<System.Runtime.InteropServices.Guid("9D0CA895-4F60-4DE8-980D-06AAD61CE88C")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsSimpleDocFactory = interface
Public Interface IVsSimpleDocFactory
Attributes

Remarks

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

Methods

LoadDocument(String, Guid, IntPtr)

Loads the given file into a document data object and returns the given interface on that object.

Applies to