Propriedade StringAttributeMetadata.MaxLength
Aplica-se a: CRM 2015 on-prem, CRM Online
Gets or sets the maximum length for the string.
Namespace: Microsoft.Xrm.Sdk.Metadata
Assembly: Microsoft.Xrm.Sdk (em Microsoft.Xrm.Sdk.dll)
Sintaxe
'Declaração
<DataMemberAttribute> _
Public Property MaxLength As Nullable(Of Integer)
[DataMemberAttribute]
public Nullable<int> MaxLength { get; set; }
Valor de Propriedade
Type: Anulável<int>
The maximum length.
Comentários
Required For Create.
Increasing the maximum length of an attribute that is the source field for an attribute mapping may cause truncation of data or errors when a solution containing these attributes is imported into another system. When you increase the MaxLength of an attribute, check whether any other attributes are mapped to it and ensure that the maximum length of any attributes that are the target in the mapping are an equal or longer length. For more information, see Using Entity and Attribute Mapping Data.
Segurança do Thread
Todos os membros estáticos (Shared in Visual Basic) desse tipo são protegidos por thread. Não há nenhum garantia de que os membros de instância sejam protegidos por thread.
Plataformas
Plataformas de desenvolvimento
Windows Vista, Windows Server 2003 e
Plataformas de destino
Windows Vista,Windows XP
Consulte também
Referência
Classe StringAttributeMetadata
Membros de StringAttributeMetadata
Namespace Microsoft.Xrm.Sdk.Metadata
Send comments about this topic to Microsoft.
© 2014 Microsoft Corporation. All rights reserved.