This documentation is archived and is not being maintained.

DisplayMasks Enumeration (Sdk Assembly)

Dynamics
banner art

[Applies to: Microsoft Dynamics CRM 4.0]

Find the latest SDK documentation: CRM 2015 SDK

The DisplayMasks enumeration type describes how to display the attribute. For more information, see the MetadataService.DisplayMasks enumeration.

Syntax

[Visual Basic .NET]
Public Enum DisplayMasks
[C#]
public enum DisplayMasks

Members

NameValueDescription
None1Specifies no restrictions.
ObjectTypeCode4Specifies that the attribute is an entity type code. The name of the entity is displayed.
PrimaryName2Specifies to display the attribute as the primary name.
RequiredForForm0x40Specifies that the attribute must be shown on a form.
RequiredForGrid0x80Specifies that the attribute can be shown in a grid view.
ValidForAdvancedFind8Specifies that the attribute can be shown on the Advanced Find form. This attribute is shown as Searchable in the UI.
ValidForForm0x10Specifies that the attribute can be shown on a form.
ValidForGrid0x20Specifies that the attribute can be shown in a grid view.

Remarks

The value of this enumeration depends on whether you access it from the WSDL or from the Microsft.Crm.Sdk assembly. To avoid errors, you should use the enumeration value. Do not convert the enumeration value to an integer.

Requirements

Namespace: Microsoft.Crm.Sdk.Metadata

Assembly: Microsoft.Crm.Sdk.dll

See Also

Reference


© 2010 Microsoft Corporation. All rights reserved.


Show: