ProvideEditorFactoryAttribute Constructor

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

  • nameResourceID
    Type: System.Int16
    The resource ID in the unmanaged resource file that contains the localized name of the editor factory.

.NET Framework Security

See Also

Reference

ProvideEditorFactoryAttribute Class

ProvideEditorFactoryAttribute Members

Microsoft.VisualStudio.Shell Namespace