SPView.BaseViewID Property

Gets the ID of the base view 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(Type := ClientCallableConstraintType.Custom, FixedId := "a", Value := "It MUST be an integer encoded as a string. Its value MUST be equal to or greater than 0. Its value MUST be equal to or less than 255.")> _
<ClientCallableAttribute(Name := "BaseViewId")> _
Public ReadOnly Property BaseViewID As String
    Get
'Usage
Dim instance As SPView
Dim value As String

value = instance.BaseViewID
[ClientCallableConstraintAttribute(Type = ClientCallableConstraintType.Custom, FixedId = "a", Value = "It MUST be an integer encoded as a string. Its value MUST be equal to or greater than 0. Its value MUST be equal to or less than 255.")]
[ClientCallableAttribute(Name = "BaseViewId")]
public string BaseViewID { get; }

Property Value

Type: System.String
A string that contains the ID.

See Also

Reference

SPView Class

SPView Members

Microsoft.SharePoint Namespace