ProvideXmlEditorChooserDesignerViewAttribute Constructor
Constructor for ProvideXmlEditorChooserDesignerViewAttribute.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0.dll)
Syntax
'Declaração
Public Sub New ( _
name As String, _
extension As String, _
defaultLogicalViewEditorFactory As Object, _
xmlChooserPriority As Integer _
)
public ProvideXmlEditorChooserDesignerViewAttribute(
string name,
string extension,
Object defaultLogicalViewEditorFactory,
int xmlChooserPriority
)
public:
ProvideXmlEditorChooserDesignerViewAttribute(
String^ name,
String^ extension,
Object^ defaultLogicalViewEditorFactory,
int xmlChooserPriority
)
new :
name:string *
extension:string *
defaultLogicalViewEditorFactory:Object *
xmlChooserPriority:int -> ProvideXmlEditorChooserDesignerViewAttribute
public function ProvideXmlEditorChooserDesignerViewAttribute(
name : String,
extension : String,
defaultLogicalViewEditorFactory : Object,
xmlChooserPriority : int
)
Parameters
- name
Type: System.String
The registry keyName for your XML editor. For example "RESX", "Silverlight", "Workflow", etc...
- extension
Type: System.String
The file extension for your custom XML type (e.g. "xaml", "resx", "xsd").
- defaultLogicalViewEditorFactory
Type: System.Object
A Type, Guid, or String object representing the editor factory for the default logical view.
- xmlChooserPriority
Type: System.Int32
The priority of the extension in the XML Chooser. This value must be greater than the extension's priority value for the XML designer's EditorFactory.
.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.