SqlFacetAttribute.IsFixedLength 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
指示用户定义类型的返回类型是否具有固定长度。
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
。