Partilhar via


MemoAttributeMetadata.MaxLength Property

 

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

Gets or sets the maximum length for the attribute.

Namespace:   Microsoft.Xrm.Sdk.Metadata
Assembly:  Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)

Syntax

[DataMemberAttribute]
public Nullable<int> MaxLength { get; set; }
<DataMemberAttribute>
Public Property MaxLength As Nullable(Of Integer)

Property Value

Type: System.Nullable<Int32>

Type: Nullable<Int32>
The maximum length for the attribute.

Remarks

Required for Create. Possible values are between 1 and 1048576.

See Also

MemoAttributeMetadata Class
Microsoft.Xrm.Sdk.Metadata Namespace

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright