共用方式為


EditorFactoryNotifyForProjectAttribute(Object, String, Object) Constructor

Definition

Creates a new ProvideEditorFactoryNotifyForProject attribute to register a file extension with a project.

public:
 EditorFactoryNotifyForProjectAttribute(System::Object ^ projectType, System::String ^ fileExtension, System::Object ^ factoryType);
public:
 EditorFactoryNotifyForProjectAttribute(Platform::Object ^ projectType, Platform::String ^ fileExtension, Platform::Object ^ factoryType);
 EditorFactoryNotifyForProjectAttribute(winrt::Windows::Foundation::IInspectable const & projectType, std::wstring const & fileExtension, winrt::Windows::Foundation::IInspectable const & factoryType);
public EditorFactoryNotifyForProjectAttribute (object projectType, string fileExtension, object factoryType);
new Microsoft.VisualStudio.Shell.EditorFactoryNotifyForProjectAttribute : obj * string * obj -> Microsoft.VisualStudio.Shell.EditorFactoryNotifyForProjectAttribute
Public Sub New (projectType As Object, fileExtension As String, factoryType As Object)

Parameters

projectType
Object

The type of project; can be a Type, a GUID or a string representation of a GUID

fileExtension
String

The file extension the EditorFactoryNotify wants to handle

factoryType
Object

The type of factory; can be a Type, a GUID or a string representation of a GUID

Applies to