Dela via


MemoAttributeMetadata.MaxLength Property

 

Applies To: Dynamics CRM 2015

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; }
public:
[DataMemberAttribute]
property Nullable<int> MaxLength {
    Nullable<int> get();
    void set(Nullable<int> value);
}
[<DataMemberAttribute>]
member MaxLength : Nullable<int> with 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

© 2016 Microsoft. All rights reserved. Copyright