Base64Binary Constructor (string)Base64Binary Constructor (String)Base64Binary Constructor (String^)

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

Syntax

Public Sub New ( _
    value As String _
)
public Base64Binary(
    string value
)
public:
Base64Binary(
    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.