ProvideXmlEditorChooserDesignerViewAttribute Constructor
Constructor for ProvideXmlEditorChooserDesignerViewAttribute.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0.dll)
Syntax
'Declaration
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: StringThe registry keyName for your XML editor. For example "RESX", "Silverlight", "Workflow", etc...
extension
Type: StringThe file extension for your custom XML type (e.g. "xaml", "resx", "xsd").
defaultLogicalViewEditorFactory
Type: ObjectA Type, Guid, or String object representing the editor factory for the default logical view.
xmlChooserPriority
Type: Int32The 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.