Share via


SqlUserDefinedTypeAttribute.IsFixedLength Property

Definition

Indicates whether all instances of this user-defined type are the same length.

public:
 property bool IsFixedLength { bool get(); void set(bool value); };
public bool IsFixedLength { get; set; }
member this.IsFixedLength : bool with get, set
Public Property IsFixedLength As Boolean

Property Value

true if all instances of this type are the same length; otherwise false.

Remarks

If set to true, all instances of UDTs corresponding to this common language runtime (CLR) type must have a length in bytes exactly equal to MaxByteSize. This attribute is only relevant for UDTs with UserDefined serialization Format.

Applies to