Sdílet prostřednictvím


EditorContextMenuLinkDocItem Constructor

Applies to v2.

Initializes a new instance of the EditorContextMenuLinkDocItem class.

Namespace:  Microsoft.WebMatrix.Extensibility.Editor
Assembly:  Microsoft.WebMatrix.Extensibility (in Microsoft.WebMatrix.Extensibility.dll)

Syntax

'Declaration
Public Sub New ( _
    hyperlink As String, _
    text As String _
)
'Usage
Dim hyperlink As String 
Dim text As String 

Dim instance As New EditorContextMenuLinkDocItem(hyperlink, _
    text)
public EditorContextMenuLinkDocItem(
    string hyperlink,
    string text
)
public:
EditorContextMenuLinkDocItem(
    String^ hyperlink, 
    String^ text
)
new : 
        hyperlink:string * 
        text:string -> EditorContextMenuLinkDocItem
public function EditorContextMenuLinkDocItem(
    hyperlink : String, 
    text : String
)

Parameters

  • hyperlink
    Type: System.String

    A link that displays the context menu to the document item.

  • text
    Type: System.String

    The text associated with the hyperlink.

See Also

Reference

EditorContextMenuLinkDocItem Class

Microsoft.WebMatrix.Extensibility.Editor Namespace