Επεξεργασία

Κοινή χρήση μέσω


SqlChars.Length Property

Definition

Gets the length of the value that is contained in the SqlChars instance.

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

Property Value

A Int64 value that indicates the length in characters of the value that is contained in the SqlChars instance.

Returns -1 if no buffer is available to the instance, or if the value is null.

Returns a Length for a stream-wrapped instance.

Remarks

The default value is 0.

Applies to

See also