SPLinkButton.Target property

Gets or sets the target window or frame in which to display the Web page content linked to when the [SPLinkButton] control is clicked.

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

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

value = instance.Target

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

Property value

Type: System.String

Remarks

If the value of this property is null, then a target attribute will not be rendered with the link. If the value of this property is an empty string then a target attribute will be rendered with an empty value.

See also

Reference

SPLinkButton class

SPLinkButton members

Microsoft.SharePoint.WebControls namespace