ProvideXmlEditorChooserBlockSxSWithXmlEditorAttribute Constructor
Initializes a new instance of the ProvideXmlEditorChooserBlockSxSWithXmlEditorAttribute class.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'宣告
Public Sub New ( _
name As String, _
editorFactory As Object _
)
public ProvideXmlEditorChooserBlockSxSWithXmlEditorAttribute(
string name,
Object editorFactory
)
Parameters
- name
Type: System.String
Registry key name for your XML editor, for example, "RESX", "Silverlight", "Workflow", and so on.
- editorFactory
Type: System.Object
A Type, GUID, or String object representing the editor factory.
.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.