SqlUserDefinedTypeAttribute.IsFixedLength Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.