Share via


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.11.0 (in Microsoft.VisualStudio.Shell.11.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: System.Object

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

  • fileExtension
    Type: System.String

    The file extension the [EditorFactoryNotify] is to handle.

  • factoryType
    Type: System.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