TaxonomyField 成员
包括受保护的成员
包括继承的成员
表示一个分类字段。
TaxonomyField 类型公开以下成员。
构造函数
名称 | 说明 | |
---|---|---|
TaxonomyField | 初始化TaxonomyField对象。 |
页首
属性
名称 | 说明 | |
---|---|---|
AllowMultipleValues | 获取或设置一个值,该值指定查阅字段是否允许多个值。 (从 FieldLookup 继承。) | |
AnchorId | 获取或设置TaxonomyField对象锚点Term对象的 GUID。 | |
AutoIndexed | (从 Field 继承。) | |
CanBeDeleted | Gets a value that specifies whether the field can be deleted. (从 Field 继承。) | |
Context | Returns the context that is associated with the client object. (从 ClientObject 继承。) | |
CreateValuesInEditForm | 获取或设置一个布尔值,指定是否可以同时在TaxonomyField编辑器控件中键入到TermSet添加新的Term对象。 | |
DefaultValue | Gets or sets a value that specifies the default value for the field. (从 Field 继承。) | |
Description | Gets or sets a value that specifies the description of the field. (从 Field 继承。) | |
DescriptionResource | (从 Field 继承。) | |
Direction | Gets or sets a value that specifies the reading order of the field. (从 Field 继承。) | |
EnforceUniqueValues | Gets or sets a Boolean value that specifies whether to enforce uniqueness in column values. The default is false. (从 Field 继承。) | |
EntityPropertyName | Gets the name of the entity property for the list item entity that uses this field. (从 Field 继承。) | |
FieldTypeKind | Gets or sets a value that specifies the type of the field. (从 Field 继承。) | |
Filterable | Gets a value that specifies whether list items in the list can be filtered by the field value. (从 Field 继承。) | |
FromBaseType | Gets a Boolean value that indicates whether the field derives from a base field type. (从 Field 继承。) | |
Group | Gets or sets a value that specifies the field group. (从 Field 继承。) | |
Hidden | Gets or sets a value that specifies whether the field is hidden in list views and list forms. (从 Field 继承。) | |
Id | Gets a value that specifies the field identifier. (从 Field 继承。) | |
Indexed | Gets or sets a Boolean value that specifies whether the field is indexed. (从 Field 继承。) | |
InternalName | Gets a value that specifies the field internal name. (从 Field 继承。) | |
IsAnchorValid | 获取一个布尔值,指定AnchorId属性标识的Term对象是否有效。 | |
IsKeyword | 获取或设置一个布尔值,指示TaxonomyField值是否指向企业关键字TermSet对象。 | |
IsPathRendered | 获取或设置一个布尔值,指定是否将该Term的默认标签除了呈现TermTaxonomyField对象中的所有父Term对象的默认Label对象。 | |
IsRelationship | 获取或设置一个值,指定是否要达查找列表中返回GetRelatedField()通过此查阅字段。 (从 FieldLookup 继承。) | |
IsTermSetValid | 获取一个布尔值,指定是否存在TermSetId属性标识的TermSet对象,以及是否可进行标记。 | |
JSLink | When implemented in a derived class, gets or sets the name of an external JavaScript file that contains any client rendering logic for fields of the derived type. (从 Field 继承。) | |
LookupField | 获取或设置一个值,该值指定用作查阅值的字段的内部字段名称。 (从 FieldLookup 继承。) | |
LookupList | 获取或设置一个用于指定列表的列表标识符的值,该列表包含要用作查阅值的字段。 (从 FieldLookup 继承。) | |
LookupWebId | 获取或设置一个值,该值指定标识包含列表的网站的 GUID,该列表包含用作查阅值的字段。 (从 FieldLookup 继承。) | |
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 继承。) | |
Open | 获取或设置一个布尔值,指定是否可以同时在TaxonomyField编辑器控件中键入到TermSet添加新的Term对象。 | |
Path | Tracks how a client object is created in the ClientRuntimeContext class so that the object can be recreated on the server. 此成员仅供内部使用,不能直接在您的代码中使用。 (从 ClientObject 继承。) | |
PrimaryFieldId | 获取或设置一个值,指定主查找字段标识符如果这是取决于查阅字段以其他方式,它是一个空字符串。 (从 FieldLookup 继承。) | |
ReadOnlyField | Gets or sets a value that specifies whether the value of the field is read-only. (从 Field 继承。) | |
RelationshipDeleteBehavior | 获取一个值,该值提供工作流模板的名称。 (从 FieldLookup 继承。) | |
Required | Gets or sets a value that specifies whether the field requires a value. (从 Field 继承。) | |
SchemaXml | Gets or sets a value that specifies the XML schema that defines the field. (从 Field 继承。) | |
SchemaXmlWithResourceTokens | Gets the schema that defines the field and includes resource tokens. (从 Field 继承。) | |
Scope | Gets a value that specifies the server-relative URL of the list or the site that the field belongs to. (从 Field 继承。) | |
Sealed | Gets a value that specifies whether properties on the field cannot be changed and whether the field cannot be deleted. (从 Field 继承。) | |
ServerObjectIsNull | Gets the server object and returns null if the server object is null. (从 ClientObject 继承。) | |
Sortable | Gets a value that specifies whether list items in the list can be sorted by the field value. (从 Field 继承。) | |
SspId | 获取或设置 GUID 标识TermStore对象,其中包含当前TaxonomyField所属的网站的企业关键字。 | |
StaticName | Gets or sets a value that specifies a customizable identifier of the field. (从 Field 继承。) | |
Tag | Gets or sets data that is associated with the client object. (从 ClientObject 继承。) | |
TargetTemplate | 获取或设置用于呈现TaxonomyField对象时构造Term的每个对象上的超链接的目标页的 Web 相对 URL。 | |
TermSetId | 获取或设置包含由当前的TaxonomyField对象的Term对象TermSet对象的 GUID。 | |
TextField | 获取或设置标识项目中的隐藏文本字段的 GUID。 | |
Title | Gets or sets a value that specifies the display name of the field. (从 Field 继承。) | |
TitleResource | (从 Field 继承。) | |
TypeAsString | Gets or sets a value that specifies the type of the field. (从 Field 继承。) | |
TypeDisplayName | Gets a value that specifies the display name for the type of the field. (从 Field 继承。) | |
TypedObject | Gets the object with the correct type information returned from the server. (从 ClientObject 继承。) | |
TypeShortDescription | Gets a value that specifies the description for the type of the field. (从 Field 继承。) | |
UserCreated | 获取或设置一个布尔值,指定是否TaxonomyField对象链接到自定义的TermSet对象。 | |
ValidationFormula | Gets or sets a value that specifies the data validation criteria for the value of the field. (从 Field 继承。) | |
ValidationMessage | Gets or sets a value that specifies the error message returned when data validation fails for the field. (从 Field 继承。) |
页首
方法
名称 | 说明 | |
---|---|---|
CheckUninitializedProperty | Checks to determine whether the specified value type property of a ClientObject has been initialized. (从 ClientObject 继承。) | |
CustomFromJson | Returns a Boolean value that indicates whether custom code was used to populate an object. 此成员仅供内部使用,不能直接在您的代码中使用。 (从 ClientObject 继承。) | |
DeleteObject | Deletes the field from the list, from the site, or from the content types within the list. (从 Field 继承。) | |
FromJson | Indicates whether custom code was used to populate an object. 此成员仅供内部使用,不能直接在您的代码中使用。 (从 ClientObject 继承。) | |
GetFieldValueAsHtml | 为了呈现页面上的域 valuedirectly 以 HTML 格式返回字段值。 | |
GetFieldValueAsTaxonomyFieldValue | 将指定的字符串值转换为TaxonomyFieldValue对象。 | |
GetFieldValueAsTaxonomyFieldValueCollection | 将指定的字符串值转换为TaxonomyFieldValueCollection对象。 | |
GetFieldValueAsText | 指定指示最早更改要返回的日期和时间。 | |
GetValidatedString | 验证字段值对象使用逻辑特定于TaxonomyField对象,并返回经过验证的域的值对象的序列化的字符串表示形式。 | |
InitNonPropertyFieldFromJson | Initializes a non-property field of the client object based on JavaScript 对象表示法 (JSON) data from the server. 此成员仅供内部使用,不能直接在您的代码中使用。 (从 ClientObject 继承。) | |
InitOnePropertyFromJson | (覆盖 FieldLookup.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 继承。) | |
SetFieldValueByCollection | 设置中指定的集合中指定的语言的Term对象的属性列表项中的对应的多值字段的值。 | |
SetFieldValueByTerm | 将列表项目中相应字段的值设置为使用指定语言的指定 Term 的属性。 | |
SetFieldValueByTermCollection | 设置中指定的集合中指定的语言的Term对象的属性列表项中的对应的多值字段的值。 | |
SetFieldValueByValue | 指定的TaxonomyFieldValue对象的列表项的值中设置对应字段的值。 | |
SetFieldValueByValueCollection | 设置指定的TaxonomyFieldValueCollection对象的列表项的值中的对应的多值字段的值。 | |
SetShowInDisplayForm | Sets the value of the ShowInDisplayForm property for this field. (从 Field 继承。) | |
SetShowInEditForm | Sets the value of ShowInEditForm property for this field. (从 Field 继承。) | |
SetShowInNewForm | Sets the value of ShowInNewForm property for this field. (从 Field 继承。) | |
ToString | (从 Object 继承。) | |
Update | Commits changed properties of the field. (从 Field 继承。) | |
UpdateAndPushChanges | Commits changed properties of the field and propagates changes to all lists that use the field. (从 Field 继承。) | |
UpdateClientObjectPropertyType | Updates the client object property's value to have correct type by using the type information returned from the server. (从 ClientObject 继承。) | |
ValidateSetValue | Validates and sets the value of the field for the list item based on an implementation-specific transformation of the value. (从 Field 继承。) |
页首