다음을 통해 공유


SPView.Toolbar Property

Gets or sets the toolbar for the view.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
<ClientCallableConstraintAttribute(FixedId := "SPViewToolbar", Type := ClientCallableConstraintType.Custom,  _
    Value := "It MUST be null or be a CAMLViewRoot as specified in [MS-WSSCAML].")> _
<ClientCallableAttribute> _
Public Property Toolbar As String
    Get
    Set
'Usage
Dim instance As SPView
Dim value As String

value = instance.Toolbar

instance.Toolbar = value
[ClientCallableConstraintAttribute(FixedId = "SPViewToolbar", Type = ClientCallableConstraintType.Custom, 
    Value = "It MUST be null or be a CAMLViewRoot as specified in [MS-WSSCAML].")]
[ClientCallableAttribute]
public string Toolbar { get; set; }

Property Value

Type: System.String
A Collaborative Application Markup Language (CAML) string that contains the toolbar definition.

Remarks

The toolbar section in a view contains the definitions for tools options that are displayed beneath the title area and directly above list items.

See Also

Reference

SPView Class

SPView Members

Microsoft.SharePoint Namespace