SoapBase64Binary Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the SoapBase64Binary class.
Overloads
SoapBase64Binary() |
Initializes a new instance of the SoapBase64Binary class. |
SoapBase64Binary(Byte[]) |
Initializes a new instance of the SoapBase64Binary class with the binary representation of a 64-bit number. |
SoapBase64Binary()
Initializes a new instance of the SoapBase64Binary class.
public:
SoapBase64Binary();
public SoapBase64Binary ();
Public Sub New ()
Examples
The following code example shows how to use this constructor.
// Create a SoapBase64Binary object.
SoapBase64Binary^ base64Binary = gcnew SoapBase64Binary;
base64Binary->Value = gcnew array<Byte>(7){
2,3,5,7,11,0,5
};
Console::WriteLine( L"The SoapBase64Binary object is {0}.",
base64Binary );
// Create a SoapBase64Binary object.
SoapBase64Binary base64Binary = new SoapBase64Binary();
base64Binary.Value = new byte[]{ 2, 3, 5, 7, 11, 0, 5 };
Console.WriteLine("The SoapBase64Binary object is {0}.",
base64Binary.ToString());
Applies to
SoapBase64Binary(Byte[])
Initializes a new instance of the SoapBase64Binary class with the binary representation of a 64-bit number.
public:
SoapBase64Binary(cli::array <System::Byte> ^ value);
public SoapBase64Binary (byte[] value);
new System.Runtime.Remoting.Metadata.W3cXsd2001.SoapBase64Binary : byte[] -> System.Runtime.Remoting.Metadata.W3cXsd2001.SoapBase64Binary
Public Sub New (value As Byte())
Parameters
Examples
The following code example shows how to use this constructor.
// Create a SoapBase64Binary object.
array<Byte>^bytes = gcnew array<Byte>(5){
2,3,5,7,11
};
SoapBase64Binary^ base64Binary = gcnew SoapBase64Binary( bytes );
Console::WriteLine( L"The SoapBase64Binary object is {0}.",
base64Binary );
// Create a SoapBase64Binary object.
byte[] bytes = new byte[]{ 2, 3, 5, 7, 11 };
SoapBase64Binary base64Binary = new SoapBase64Binary(bytes);
Console.WriteLine("The SoapBase64Binary object is {0}.",
base64Binary.ToString());
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for