XPathAtomicValue.ValueAsBytes PropertyXPathAtomicValue.ValueAsBytes PropertyXPathAtomicValue::ValueAsBytes Property

Gets the item's value as a byteBytebyte array.

Syntax

Public Overridable ReadOnly Property ValueAsBytes As Byte[]
        Get
public virtual byte[] ValueAsBytes { get; }
public:
virtual property array<byte> ValueAsBytes {
    array<byte> get();
}
 

Property Value

Type: System.Byte[]System.Byte()array<System::Byte>^

Exceptions

ExceptionCondition
FormatExceptionFormatExceptionFormatExceptionThe value was not a valid lexical value for xs:base64Binary.
InvalidCastExceptionInvalidCastExceptionInvalidCastExceptionThe value cannot be cast to xs:base64Binary.