RegisterAdditionalEditorExtensionAttribute Constructor
Creates a new RegisterAdditionalEditorExtensionAttribute.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0.dll)
Syntax
'Declaration
Public Sub New ( _
factoryType As Object, _
extension As String, _
priority As Integer _
)
public RegisterAdditionalEditorExtensionAttribute(
Object factoryType,
string extension,
int priority
)
public:
RegisterAdditionalEditorExtensionAttribute(
Object^ factoryType,
String^ extension,
int priority
)
new :
factoryType:Object *
extension:string *
priority:int -> RegisterAdditionalEditorExtensionAttribute
public function RegisterAdditionalEditorExtensionAttribute(
factoryType : Object,
extension : String,
priority : int
)
Parameters
factoryType
Type: System.ObjectType representing the existing editor factory to register an additional extension with.
extension
Type: System.StringFile extension to register. Must begin with a '.'
priority
Type: System.Int32Priority of this editor for the file extension being registered.
.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.