共用方式為


CustomField.FieldType property

取得自訂欄位的型別。

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

Syntax

'宣告
<RemoteAttribute> _
Public ReadOnly Property FieldType As CustomFieldType
    Get
'用途
Dim instance As CustomField
Dim value As CustomFieldType

value = instance.FieldType
[RemoteAttribute]
public CustomFieldType FieldType { get; }

Property value

Type: Microsoft.ProjectServer.Client.CustomFieldType
自訂欄位類型。

備註

FieldType可以是下列的自訂欄位類型之一: COST、 DATE、 FINISHDATE、 DURATION、 FLAG、 NUMBER或TEXT。型別TEXT的自訂欄位可以有階層式的查閱表格。型別FLAG的自訂欄位不能使用查閱表格。

請參閱

參照

CustomField class

CustomField members

Microsoft.ProjectServer.Client namespace