共用方式為


ProvideXmlEditorChooserBlockSxSWithXmlEditorAttribute Constructor

Initializes a new instance of the ProvideXmlEditorChooserBlockSxSWithXmlEditorAttribute class.

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)

Syntax

'Declaration
Public Sub New ( _
    name As String, _
    editorFactory As Object _
)
public ProvideXmlEditorChooserBlockSxSWithXmlEditorAttribute(
    string name,
    Object editorFactory
)
public:
ProvideXmlEditorChooserBlockSxSWithXmlEditorAttribute(
    String^ name, 
    Object^ editorFactory
)
new : 
        name:string * 
        editorFactory:Object -> ProvideXmlEditorChooserBlockSxSWithXmlEditorAttribute
public function ProvideXmlEditorChooserBlockSxSWithXmlEditorAttribute(
    name : String, 
    editorFactory : Object
)

Parameters

  • name
    Type: String

    Registry key name for your XML editor, for example, "RESX", "Silverlight", "Workflow", and so on.

  • editorFactory
    Type: Object

    A Type, GUID, or String object representing the editor factory.

.NET Framework Security

See Also

Reference

ProvideXmlEditorChooserBlockSxSWithXmlEditorAttribute Class

Microsoft.VisualStudio.Shell Namespace