Share via


CustomFieldCollection.GetById method

Returns the custom field that is specified by the Id value.

Namespace:  Microsoft.ProjectServer.Client
Assembly:  Microsoft.ProjectServer.Client (in Microsoft.ProjectServer.Client.dll)

Syntax

'Declaration
<RemoteAttribute> _
Public Function GetById ( _
    objectId As String _
) As CustomField
'Usage
Dim instance As CustomFieldCollection
Dim objectId As String
Dim returnValue As CustomField

returnValue = instance.GetById(objectId)
[RemoteAttribute]
public CustomField GetById(
    string objectId
)

Parameters

Return value

Type: Microsoft.ProjectServer.Client.CustomField
A CustomField object.

See also

Reference

CustomFieldCollection class

CustomFieldCollection members

Microsoft.ProjectServer.Client namespace