HexBinary Constructor (string)HexBinary Constructor (String)HexBinary Constructor (String^)

Initializes a new instance of the HexBinaryHexBinaryHexBinary struct from the specified stringStringString.

Syntax

Public Sub New ( _
    value As String _
)
public HexBinary(
    string value
)
public:
HexBinary(
    String^ value
)
 

Parameters

value

Type: System.StringSystem.StringSystem::String^

A stringStringString whose lexical value is a base 64 encoded binary value.

Exceptions

ExceptionCondition
ArgumentNullExceptionArgumentNullExceptionArgumentNullExceptionRaised when value is null a null reference (Nothing in Visual Basic) nullptr.
FormatExceptionFormatExceptionFormatExceptionRaised when value is not a valid lexical base 64 encoded binary value.