Compartir a través de


EditorFactoryNotifyForProjectAttribute Constructor

Initializes a new instance of the EditorFactoryNotifyForProjectAttribute class, which registers a file extension with a project.

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

Syntax

'Declaration
Public Sub New ( _
    projectType As Object, _
    fileExtension As String, _
    factoryType As Object _
)
public EditorFactoryNotifyForProjectAttribute(
    Object projectType,
    string fileExtension,
    Object factoryType
)
public:
EditorFactoryNotifyForProjectAttribute(
    Object^ projectType, 
    String^ fileExtension, 
    Object^ factoryType
)
new : 
        projectType:Object * 
        fileExtension:string * 
        factoryType:Object -> EditorFactoryNotifyForProjectAttribute
public function EditorFactoryNotifyForProjectAttribute(
    projectType : Object, 
    fileExtension : String, 
    factoryType : Object
)

Parameters

  • projectType
    Type: Object

    The type of project. This parameter can be a Type, a GUID, or a string representation of a GUID.

  • fileExtension
    Type: String

    The file extension the [EditorFactoryNotify] is to handle.

  • factoryType
    Type: Object

    The type of factory. This parameter can be a Type, a GUID, or a string representation of a GUID.

.NET Framework Security

See Also

Reference

EditorFactoryNotifyForProjectAttribute Class

Microsoft.VisualStudio.Shell Namespace