共用方式為


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

'宣告
Public Sub New ( _
    projectType As Object, _
    fileExtension As String, _
    factoryType As Object _
)
public EditorFactoryNotifyForProjectAttribute(
    Object projectType,
    string fileExtension,
    Object factoryType
)

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