Delen via


StringAttributeMetadata.Format-eigenschap

Gets or sets the format for the string

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

Syntaxis

'Declaratie
<DataMemberAttribute> _
Public Property Format As Nullable(Of StringFormat)
[DataMemberAttribute] 
public Nullable<StringFormat> Format { get; set; }

Waarde van eigenschap

Type: Nullable<StringFormat>
The format of the string attribute.

Opmerkingen

If this property is not assigned a value, and FormatName is also not assigned a value, it defaults to Text.

Notitie

Use FormatName instead of this property to set the format. The StringFormat enumeration is deprecated. If both properties are set the FormatName value will be used.

Thread-veiligheid

Alle openbare statische (Shared in Visual Basic) leden van dit type zijn thread-veilig. Exemplaarleden zijn niet gegarandeerd thread-veilig.

Platforms

Development Platforms

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

Target Platforms

Windows Server 2008,Windows Server 2012,Windows 7

Change History

Zie ook

Verwijzing

StringAttributeMetadata-klasse
StringAttributeMetadata-leden
Microsoft.Xrm.Sdk.Metadata-naamruimte

Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.