ProvideEditorFactoryAttribute Constructor
This constructor creates a new ProvideEditorFactoryAttribute object.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)
Syntax
'Declaration
Public Sub New ( _
factoryType As Type, _
nameResourceID As Short _
)
public ProvideEditorFactoryAttribute(
Type factoryType,
short nameResourceID
)
public:
ProvideEditorFactoryAttribute(
Type^ factoryType,
short nameResourceID
)
new :
factoryType:Type *
nameResourceID:int16 -> ProvideEditorFactoryAttribute
public function ProvideEditorFactoryAttribute(
factoryType : Type,
nameResourceID : short
)
Parameters
factoryType
Type: TypeThe object type that implements IVsEditorFactory.
nameResourceID
Type: Int16The 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.