Share via


SPViewFieldCollection.Explicit method (Int32)

Verifies whether the field at the specified index in the collection is explicitly declared in the view definition.

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

Syntax

'Declaration
Public Function Explicit ( _
    iIndex As Integer _
) As Boolean
'Usage
Dim instance As SPViewFieldCollection
Dim iIndex As Integer
Dim returnValue As Boolean

returnValue = instance.Explicit(iIndex)
public bool Explicit(
    int iIndex
)

Parameters

  • iIndex
    Type: System.Int32

    A 32-bit integer that specifies the index of the field in the collection of view fields.

Return value

Type: System.Boolean
true if the field is explicitly declared in the view definition; otherwise, false.

Remarks

Explicitly declared fields are used, for example, in the list views of Web Parts on the home page or on Web Part Pages and cannot be removed through the user interface.

See also

Reference

SPViewFieldCollection class

SPViewFieldCollection members

Explicit overload

Microsoft.SharePoint namespace