Specify the posution of a field as they should be listed by default

Namespace: Composite.Data
Assembly: Composite (in Composite.dll) Version: 6.1.6325.31818

Syntax

C#
public sealed class FieldPositionAttribute : Attribute
Visual Basic
Public NotInheritable Class FieldPositionAttribute _
	Inherits Attribute
Visual C++
public ref class FieldPositionAttribute sealed : public Attribute

Examples

This sample shows how to use the FieldPosition attribute.
CopyC#
// data interface attributes ...
interface IMyDataType : IData
{
    [StoreFieldType(PhysicalStoreFieldType.String, 64)]
    [ImmutableFieldId("{D75EA67F-AD14-4BAB-8547-6D87002709F3}")]
    [FieldPosition(1)]
    string Title { get; set; }

    // more data properties ...
}

Inheritance Hierarchy

System..::..Object
  System..::..Attribute
    Composite.Data..::..FieldPositionAttribute

See Also