Partilhar 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)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

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