StringAttributeMetadata Class
Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online
Contains the metadata for an attribute of type String.
Namespace: Microsoft.Xrm.Sdk.Metadata
Assembly: Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)
Inheritance Hierarchy
System.Object
Microsoft.Xrm.Sdk.Metadata.MetadataBase
Microsoft.Xrm.Sdk.Metadata.AttributeMetadata
Microsoft.Xrm.Sdk.Metadata.StringAttributeMetadata
Syntax
[DataContractAttribute(Name = "StringAttributeMetadata", Namespace = "https://schemas.microsoft.com/xrm/2011/Metadata")]
[MetadataNameAttribute(LogicalName = "StringAttributeMetadata",
LogicalCollectionName = "StringAttributeDefinitions")]
public sealed class StringAttributeMetadata : AttributeMetadata
<DataContractAttribute(Name := "StringAttributeMetadata", Namespace := "https://schemas.microsoft.com/xrm/2011/Metadata")>
<MetadataNameAttribute(LogicalName := "StringAttributeMetadata",
LogicalCollectionName := "StringAttributeDefinitions")>
Public NotInheritable Class StringAttributeMetadata
Inherits AttributeMetadata
Constructors
Name | Description | |
---|---|---|
StringAttributeMetadata() | Initializes a new instance of the StringAttributeMetadata class |
|
StringAttributeMetadata(String) | Initializes a new instance of the StringAttributeMetadata class |
Properties
Name | Description | |
---|---|---|
AttributeOf | Gets the name of the attribute that this attribute extends.(Inherited from AttributeMetadata.) |
|
AttributeType | Gets the type for the attribute.(Inherited from AttributeMetadata.) |
|
AttributeTypeName | Gets the name of the type for the attribute.(Inherited from AttributeMetadata.) |
|
CanBeSecuredForCreate | Gets whether field-level security can be applied to prevent a user from adding data to this attribute.(Inherited from AttributeMetadata.) |
|
CanBeSecuredForRead | Gets whether field-level security can be applied to prevent a user from viewing data from this attribute.(Inherited from AttributeMetadata.) |
|
CanBeSecuredForUpdate | Gets whether field-level security can be applied to prevent a user from updating data for this attribute.(Inherited from AttributeMetadata.) |
|
CanModifyAdditionalSettings | Gets or sets the property that determines whether any settings not controlled by managed properties can be changed.(Inherited from AttributeMetadata.) |
|
ColumnNumber | Gets an organization-specific ID for the attribute used for auditing.(Inherited from AttributeMetadata.) |
|
DeprecatedVersion | Gets the Microsoft Dynamics 365 version that the attribute was deprecated in.(Inherited from AttributeMetadata.) |
|
Description | Gets or sets the description of the attribute.(Inherited from AttributeMetadata.) |
|
DisplayName | Gets or sets the display name for the attribute.(Inherited from AttributeMetadata.) |
|
EntityLogicalName | Gets the logical name of the entity that contains the attribute.(Inherited from AttributeMetadata.) |
|
ExtensionData | Gets or sets the structure that contains extra data.(Inherited from MetadataBase.) |
|
Format | Gets or sets the format for the string |
|
FormatName | Gets or sets the format for the string. |
|
FormulaDefinition | Gets or sets the formula definition for calculated and rollup attributes. |
|
HasChanged | Gets whether the item of metadata has changed.(Inherited from MetadataBase.) |
|
ImeMode | Gets or sets the IME mode for the attribute. |
|
InheritsFrom | This API supports the product infrastructure and is not intended to be used directly from your code. (Inherited from AttributeMetadata.) |
|
IntroducedVersion | Gets a string identifying the solution version that the solution component was added in.(Inherited from AttributeMetadata.) |
|
IsAuditEnabled | Gets or sets the property that determines whether the attribute is enabled for auditing.(Inherited from AttributeMetadata.) |
|
IsCustomAttribute | Gets whether the attribute is a custom attribute.(Inherited from AttributeMetadata.) |
|
IsCustomizable | Gets or sets the property that determines whether the attribute allows customization.(Inherited from AttributeMetadata.) |
|
IsFilterable | This API supports the product infrastructure and is not intended to be used directly from your code. (Inherited from AttributeMetadata.) |
|
IsGlobalFilterEnabled | (Inherited from AttributeMetadata.) |
|
IsLocalizable | Gets whether the attribute supports localizable values. |
|
IsLogical | Gets whether the attribute is a logical attribute.(Inherited from AttributeMetadata.) |
|
IsManaged | Gets whether the attribute is part of a managed solution.(Inherited from AttributeMetadata.) |
|
IsPrimaryId | Gets whether the attribute represents the unique identifier for the record.(Inherited from AttributeMetadata.) |
|
IsPrimaryName | Gets or sets whether the attribute represents the primary attribute for the entity.(Inherited from AttributeMetadata.) |
|
IsRenameable | Gets or sets the property that determines whether the attribute display name can be changed.(Inherited from AttributeMetadata.) |
|
IsRetrievable | This API supports the product infrastructure and is not intended to be used directly from your code. (Inherited from AttributeMetadata.) |
|
IsSearchable | This API supports the product infrastructure and is not intended to be used directly from your code. (Inherited from AttributeMetadata.) |
|
IsSecured | Gets or sets whether the attribute is secured for field-level security.(Inherited from AttributeMetadata.) |
|
IsSortableEnabled | (Inherited from AttributeMetadata.) |
|
IsValidForAdvancedFind | Gets or sets the property that determines whether the attribute appears in Advanced Find.(Inherited from AttributeMetadata.) |
|
IsValidForCreate | Gets whether the value can be set when a record is created.(Inherited from AttributeMetadata.) |
|
IsValidForRead | Gets whether the value can be retrieved.(Inherited from AttributeMetadata.) |
|
IsValidForUpdate | Gets whether the value can be updated.(Inherited from AttributeMetadata.) |
|
LinkedAttributeId | Gets or sets an attribute that is linked between appointments and recurring appointments.(Inherited from AttributeMetadata.) |
|
LogicalName | Gets or sets the logical name for the attribute.(Inherited from AttributeMetadata.) |
|
MaxLength | Gets or sets the maximum length for the string. |
|
MetadataId | Gets or sets a unique identifier for the metadata item.(Inherited from MetadataBase.) |
|
RequiredLevel | Gets or sets the property that determines the data entry requirement level enforced for the attribute.(Inherited from AttributeMetadata.) |
|
SchemaName | Gets or sets the schema name for the attribute.(Inherited from AttributeMetadata.) |
|
SourceType | Gets or sets the value that indicates the source type for a calculated or rollup attribute.(Inherited from AttributeMetadata.) |
|
SourceTypeMask | Gets the bitmask value that describes the sources of data used in a calculated attribute or whether the data sources are invalid. |
|
YomiOf | For internal use only. |
Methods
Name | Description | |
---|---|---|
Equals(Object) | (Inherited from Object.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
ToString() | (Inherited from Object.) |
Fields
Name | Description | |
---|---|---|
MaxSupportedLength | The maximum supported length is 4000 characters. |
|
MinSupportedLength | The minimum supported length is 1 character. |
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.
See Also
Microsoft.Xrm.Sdk.Metadata Namespace
Customize entity attribute metadata
Return to top
Microsoft Dynamics 365
© 2016 Microsoft. All rights reserved. Copyright