ProvideEditorFactoryAttribute Constructor
This constructor creates a new ProvideEditorFactoryAttribute object.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
Syntax
'宣言
Public Sub New ( _
factoryType As Type, _
nameResourceID As Short _
)
'使用
Dim factoryType As Type
Dim nameResourceID As Short
Dim instance As New ProvideEditorFactoryAttribute(factoryType, _
nameResourceID)
public ProvideEditorFactoryAttribute(
Type factoryType,
short nameResourceID
)
public:
ProvideEditorFactoryAttribute(
Type^ factoryType,
short nameResourceID
)
public function ProvideEditorFactoryAttribute(
factoryType : Type,
nameResourceID : short
)
Parameters
factoryType
Type: System.TypeThe object type that implements IVsEditorFactory.
nameResourceID
Type: System.Int16The resource ID in the unmanaged resource file that contains the localized name of the editor factory.
Permissions
- 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.
See Also
Reference
ProvideEditorFactoryAttribute Class