共用方式為


SPViewFieldCollection.Explicit Method (String)

Verifies whether the field with the specified name 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 ( _
    Name As String _
) As Boolean
'Usage
Dim instance As SPViewFieldCollection
Dim Name As String
Dim returnValue As Boolean

returnValue = instance.Explicit(Name)
public bool Explicit(
    string Name
)

Parameters

  • Name
    Type: System.String

    A string that contains the name of the field.

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 contained 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