TermSetItem 成员

提供是Term对象的父TaxonomyItem对象的抽象。

TermSetItem 类型公开以下成员。

构造函数

  名称 说明
公共方法 TermSetItem 初始化TermSetItem对象的新实例。

页首

属性

  名称 说明
公共属性 Context Returns the context that is associated with the client object. (从 ClientObject 继承。)
公共属性 CreatedDate 获取创建此项目的 DateTime。 (从 TaxonomyItem 继承。)
公共属性 CustomProperties 获取Term对象或TermSet对象的有效CustomProperty实例的集合。
公共属性 CustomSortOrder 获取当前项目的子级的自定义排序顺序。
公共属性 Id 获取当前TaxonomyItem的 Id。 (从 TaxonomyItem 继承。)
公共属性 IsAvailableForTagging 获取是否TaxonomyItem对象应显示在带标记的 UI。
公共属性 LastModifiedDate 获取最近更新此项目的 DateTime。 (从 TaxonomyItem 继承。)
公共属性 Name 获取或设置当前TaxonomyItem对象的名称。 (从 TaxonomyItem 继承。)
受保护的属性 ObjectData Gets the object data for the current client object. (从 ClientObject 继承。)
公共属性 ObjectVersion Gets a string that indicates the version of the current client object. 此成员仅供内部使用,不能直接在您的代码中使用。 (从 ClientObject 继承。)
公共属性 Owner 获取由负责TaxonomyItem对象的用户的名称。
公共属性 Path Tracks how a client object is created in the ClientRuntimeContext class so that the object can be recreated on the server. 此成员仅供内部使用,不能直接在您的代码中使用。 (从 ClientObject 继承。)
公共属性 ServerObjectIsNull Gets the server object and returns null if the server object is null. (从 ClientObject 继承。)
公共属性 Tag Gets or sets data that is associated with the client object. (从 ClientObject 继承。)
公共属性 Terms 获取的子集合的此TaxonomyItemTerm对象。
公共属性 TermStore 获取从中检索到当前TaxonomyItemTermStore对象。 (从 TaxonomyItem 继承。)
公共属性 TypedObject Gets the object with the correct type information returned from the server. (从 ClientObject 继承。)

页首

方法

  名称 说明
受保护的方法 CheckUninitializedProperty Checks to determine whether the specified value type property of a ClientObject has been initialized. (从 ClientObject 继承。)
公共方法 CreateTerm 创建新Term下方此TaxonomyItem实例。
公共方法 CustomFromJson Returns a Boolean value that indicates whether custom code was used to populate an object. 此成员仅供内部使用,不能直接在您的代码中使用。 (从 ClientObject 继承。)
公共方法 DeleteAllCustomProperties 此项目中删除所有自定义属性。
公共方法 DeleteCustomProperty 此项目中删除特定的自定义属性。
公共方法 DeleteObject 从系统中删除当前TaxonomyItem对象。 (从 TaxonomyItem 继承。)
公共方法 FromJson Indicates whether custom code was used to populate an object. 此成员仅供内部使用,不能直接在您的代码中使用。 (从 ClientObject 继承。)
公共方法 GetTerms 获取分页包含子Term此TermSetItem对象的对象。
受保护的方法 InitNonPropertyFieldFromJson Initializes a non-property field of the client object based on JavaScript 对象表示法 (JSON) data from the server. 此成员仅供内部使用,不能直接在您的代码中使用。 (从 ClientObject 继承。)
受保护的方法 InitOnePropertyFromJson (覆盖 TaxonomyItem.InitOnePropertyFromJson(String, JsonReader)。)
公共方法 IsObjectPropertyInstantiated Indicates whether the specified property of the client object is instantiated. (从 ClientObject 继承。)
公共方法 IsPropertyAvailable Returns a Boolean value that indicates whether the specified scalar property has been retrieved or set. (从 ClientObject 继承。)
受保护的方法 LoadExpandoFields Initializes the extended properties associated with the client object when overridden in a derived class. (从 ClientObject 继承。)
公共方法 RefreshLoad Reloads all scalar properties associated with the client object when overridden in a derived class. (从 ClientObject 继承。)
受保护的方法 RemoveFromParentCollection Removes the current client object from the parent client object collection. (从 ClientObject 继承。)
公共方法 Retrieve() Retrieves all scalar properties associated with the object. 此成员仅供内部使用,不能直接在您的代码中使用。 (从 ClientObject 继承。)
公共方法 Retrieve([]) Retrieves the specified scalar properties associated with the object. 此成员仅供内部使用,不能直接在您的代码中使用。 (从 ClientObject 继承。)
公共方法 ReuseTerm 创建基于sourceTerm此TaxonomyItem对象下方的新重复使用的Term对象。
公共方法 ReuseTermWithPinning 创建一个新的Term对象下方基于sourceTermTaxonomyItem实例并使固定,以便本地自定义属性、 IsAvailableForTagging和TermSet自定义排序顺序可以更改TermSet对象中的术语。
公共方法 SetCustomProperty 设置TermSetItem对象的自定义属性。
公共方法 ToString (从 Object 继承。)
受保护的方法 UpdateClientObjectPropertyType Updates the client object property's value to have correct type by using the type information returned from the server. (从 ClientObject 继承。)

页首

另请参阅

引用

TermSetItem 类

Microsoft.SharePoint.Client.Taxonomy 命名空间