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.ObjectThe type of project. This parameter can be a Type, a GUID, or a string representation of a GUID.
fileExtension
Type: System.StringThe file extension the [EditorFactoryNotify] is to handle.
factoryType
Type: System.ObjectThe type of factory. This parameter can be a Type, a GUID, or a string representation of a GUID.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.