CustomFieldCollection.Remove method
Removes the specified custom field from the collection.
Namespace: Microsoft.ProjectServer.Client
Assembly: Microsoft.ProjectServer.Client (in Microsoft.ProjectServer.Client.dll)
Syntax
'Declaration
<RemoteAttribute> _
Public Function Remove ( _
field As CustomField _
) As ClientResult(Of Boolean)
'Usage
Dim instance As CustomFieldCollection
Dim field As CustomField
Dim returnValue As ClientResult(Of Boolean)
returnValue = instance.Remove(field)
[RemoteAttribute]
public ClientResult<bool> Remove(
CustomField field
)
Parameters
field
Type: Microsoft.ProjectServer.Client.CustomFieldThe custom field to remove.
Return value
Type: Microsoft.SharePoint.Client.ClientResult<Boolean>
True if the object is removed from the collection; otherwise, False.