SoapHexBinary.Value Property

Definition

Gets or sets the hexadecimal representation of a number.

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

Property Value

Byte[]

A Byte array containing the hexadecimal representation of a number.

Examples

The following code example shows how to use the Value property. This code example is part of a larger example that is provided for the SoapHexBinary class.

// Print the value of the SoapHexBinary object.
Console::Write( L"hexBinary.Value contains:" );
for ( int i = 0; i < hexBinary->Value->Length; ++i )
{
   Console::Write( L" {0}", hexBinary->Value[ i ] );

}
Console::WriteLine();
// Print the value of the SoapHexBinary object.
Console.Write("hexBinary.Value contains:");
for (int i = 0 ; i < hexBinary.Value.Length ; ++i)
{
    Console.Write(" " + hexBinary.Value[i]);
}
Console.WriteLine();

Applies to