Szerkesztés

Megosztás a következőn keresztül:


SqlBytes.Length Property

Definition

Gets the length of the value that is contained in the SqlBytes 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 representing the length of the value that is contained in the SqlBytes 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