ProvideEditorFactoryAttribute Constructor
This constructor creates a new ProvideEditorFactoryAttribute object.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'Declaration
Public Sub New ( _
factoryType As Type, _
nameResourceID As Short _
)
public ProvideEditorFactoryAttribute(
Type factoryType,
short nameResourceID
)
Parameters
- factoryType
Type: System.Type
The object type that implements IVsEditorFactory.
- nameResourceID
Type: System.Int16
The resource ID in the unmanaged resource file that contains the localized name of the editor factory.
.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.