共用方式為


CustomField class

包含屬性和方法,用於建立企業自訂欄位。

Inheritance hierarchy

System.Object
  Microsoft.SharePoint.Client.ClientObject
    Microsoft.ProjectServer.Client.CustomField

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

Syntax

'宣告
<ScriptTypeAttribute("PS.CustomField", ServerTypeId := "{02ae9608-fbbc-43bc-8576-dc07dcf4c8d5}")> _
Public Class CustomField _
    Inherits ClientObject
'用途
Dim instance As CustomField
[ScriptTypeAttribute("PS.CustomField", ServerTypeId = "{02ae9608-fbbc-43bc-8576-dc07dcf4c8d5}")]
public class CustomField : ClientObject

備註

CSOM 可以存取只有企業自訂欄位,不是本機專案中定義的自訂欄位。

Thread safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

請參閱

參照

CustomField members

Microsoft.ProjectServer.Client namespace

CustomFieldCreationInformation

CustomFieldCollection