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

備註

如果屬性設定為 1,MaxSize則必須將此屬性設定false為 。

預設值是 false

適用於