Share via


CustomField.Name property

Gets or sets the name of the custom field.

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

Syntax

'Declaration
<RemoteAttribute> _
Public Property Name As String
    Get
    Set
'Usage
Dim instance As CustomField
Dim value As String

value = instance.Name

instance.Name = value
[RemoteAttribute]
public string Name { get; set; }

Property value

Type: System.String
The custom field name.

Remarks

The left square bracket '[' character and the right square bracket ']' character are not valid in custom field names. You can use the CustomField.INVALID_MD_PROP_NAME_CHARS() method to get the array of characters that are not valid for custom field names.

See also

Reference

CustomField class

CustomField members

Microsoft.ProjectServer.Client namespace