SqlBinary.Length Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the length in bytes of the Value property. This property is read-only.
public:
property int Length { int get(); };
public int Length { get; }
member this.Length : int
Public ReadOnly Property Length As Integer
Property Value
The length of the binary data in the Value property.
Exceptions
Remarks
To avoid raising a SqlNullValueException, always examine the IsNull property before reading the Length property.
Applies to
See also
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.