This constructor creates a new ProvideEditorFactoryAttribute object.
Namespace:  Microsoft.VisualStudio.Shell
Assemblies:   Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)
  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
  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
)
new : 
        factoryType:Type * 
        nameResourceID:int16 -> ProvideEditorFactoryAttribute
public function ProvideEditorFactoryAttribute(
    factoryType : Type, 
    nameResourceID : short
)
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.
See Also
Reference
ProvideEditorFactoryAttribute Class