SoapBase64Binary.Value 属性

定义

获取或设置 64 位数字的二进制表示形式。

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()

属性值

Byte[]

一个 Byte 数组,它包含一个 64 位数字的二进制表示形式。

示例

下面的代码示例说明如何使用 Value 属性。 此代码示例是为 SoapBase64Binary 类提供的一个更大示例的一部分。

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

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

适用于