แก้ไข

แชร์ผ่าน


SqlBinary.Value Property

Definition

Gets the value of the SqlBinary structure. This property is read-only.

public:
 property cli::array <System::Byte> ^ Value { cli::array <System::Byte> ^ get(); };
public byte[] Value { get; }
member this.Value : byte[]
Public ReadOnly Property Value As Byte()

Property Value

Byte[]

The value of the SqlBinary structure.

Exceptions

The Value property is read when the property contains Null.

Remarks

To avoid raising a SqlNullValueException, always examine the IsNull property before reading the Value property.

Applies to

See also