SoapMonthDay Constructeurs
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Initialise une nouvelle instance de la classe SoapMonthDay.
Surcharges
SoapMonthDay() |
Initialise une nouvelle instance de la classe SoapMonthDay. |
SoapMonthDay(DateTime) |
Initialise une nouvelle instance de la classe SoapMonthDay avec un objet DateTime spécifié. |
SoapMonthDay()
Initialise une nouvelle instance de la classe SoapMonthDay.
public:
SoapMonthDay();
public SoapMonthDay ();
Public Sub New ()
Exemples
L’exemple de code suivant montre comment utiliser ce constructeur.
// Create a SoapMonthDay object.
SoapMonthDay^ monthDay = gcnew SoapMonthDay;
monthDay->Value = DateTime::Now;
Console::WriteLine( L"The SoapMonthDay object is {0}.", monthDay );
// Create a SoapMonthDay object.
SoapMonthDay monthDay = new SoapMonthDay();
monthDay.Value = DateTime.Now;
Console.WriteLine("The SoapMonthDay object is {0}.",
monthDay.ToString());
S’applique à
SoapMonthDay(DateTime)
Initialise une nouvelle instance de la classe SoapMonthDay avec un objet DateTime spécifié.
public:
SoapMonthDay(DateTime value);
public SoapMonthDay (DateTime value);
new System.Runtime.Remoting.Metadata.W3cXsd2001.SoapMonthDay : DateTime -> System.Runtime.Remoting.Metadata.W3cXsd2001.SoapMonthDay
Public Sub New (value As DateTime)
Paramètres
Exemples
L’exemple de code suivant montre comment utiliser ce constructeur.
// Create a SoapMonthDay object.
SoapMonthDay^ monthDay = gcnew SoapMonthDay( DateTime::Now );
Console::WriteLine( L"The SoapMonthDay object is {0}.", monthDay );
// Create a SoapMonthDay object.
SoapMonthDay monthDay = new SoapMonthDay(DateTime.Now);
Console.WriteLine("The SoapMonthDay object is {0}.",
monthDay.ToString());
S’applique à
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour