SqlChars.MaxLength SqlChars.MaxLength SqlChars.MaxLength SqlChars.MaxLength Property

定义

获取内部缓冲区可保存的值的最大长度(以双字节字符为单位)。Gets the maximum length in two-byte characters of the value the internal buffer can hold.

public:
 property long MaxLength { long get(); };
public long MaxLength { get; }
member this.MaxLength : int64
Public ReadOnly Property MaxLength As Long

属性值

一个 Int64 值,表示内部缓冲区的值的最大长度(以双字节为单位)。An Int64 value representing the maximum length in two-byte characters of the value of the internal buffer.

对于流包装的 SqlChars,将返回 -1。Returns -1 for a stream-wrapped SqlChars.

注解

默认值为 0。The default value is 0.

适用于

另请参阅