SqlFacetAttribute.IsFixedLength 属性

定义

指示用户定义类型的返回类型是否具有固定长度。

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

属性值

如果返回类型具有固定长度,则为 true;否则为 false

注解

如果属性设置为 false 1,则必须将 MaxSize 此属性设置为 。

默认值是 false

适用于