SoapHexBinary.Value Propriedade

Definição

Obtém ou define a representação hexadecimal de um número.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()

Valor da propriedade

Byte[]

Uma Byte matriz que contém a representação hexadecimal de um número.A Byte array containing the hexadecimal representation of a number.

Exemplos

O exemplo de código a seguir mostra como usar a Value propriedade.The following code example shows how to use the Value property. Este exemplo de código faz parte de um exemplo maior que é fornecido para a SoapHexBinary classe.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();

Aplica-se a