다음을 통해 공유


ViewFieldCollection.Remove Method

Removes the field with the specified field internal name from the collection.

Namespace:  Microsoft.SharePoint.Client
Assemblies:   Microsoft.SharePoint.Client.Silverlight (in Microsoft.SharePoint.Client.Silverlight.dll);  Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)

Syntax

'Declaration
<RemoteAttribute> _
Public Sub Remove ( _
    strField As String _
)
'Usage
Dim instance As ViewFieldCollection
Dim strField As String

instance.Remove(strField)
[RemoteAttribute]
public void Remove(
    string strField
)

Parameters

  • strField
    Type: System.String

    Specifies the field internal name.

Exceptions

Exception Condition
[Microsoft.SharePoint.SPException]

Field does not exist in the collection. Error code: -2146232832.

Remarks

It must not be null.

See Also

Reference

ViewFieldCollection Class

ViewFieldCollection Members

Microsoft.SharePoint.Client Namespace