Partilhar via


SPLinkButton.CommandName Property

Gets or sets the command name associated with the SPLinkButton control that is passed to the command event handler.

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Property CommandName As String
    Get
    Set
'Usage
Dim instance As SPLinkButton
Dim value As String

value = instance.CommandName

instance.CommandName = value
public string CommandName { get; set; }

Property Value

Type: System.String
A string that contains the name of the command.

See Also

Reference

SPLinkButton Class

SPLinkButton Members

Microsoft.SharePoint.WebControls Namespace