Partager via


XsltFunctions.MSFormatDateTime(String, String, String, Boolean) Méthode

Définition

Implémente les fonctions ms:format-date et les ms-format-timefonctions d’extension Microsoft XPath.

Cette API prend en charge l'infrastructure du produit et n'est pas destinée à être utilisée directement à partir de votre code.

public:
 static System::String ^ MSFormatDateTime(System::String ^ dateTime, System::String ^ format, System::String ^ lang, bool isDate);
public static string MSFormatDateTime (string dateTime, string format, string lang, bool isDate);
static member MSFormatDateTime : string * string * string * bool -> string
Public Shared Function MSFormatDateTime (dateTime As String, format As String, lang As String, isDate As Boolean) As String

Paramètres

dateTime
String

Chaîne qui contient les données date/heure.

format
String

Chaîne qui contient le format.

lang
String

Chaîne qui contient la langue.

isDate
Boolean

Valeur booléenne qui indique si date/heure contient une date.

Retours

String

Chaîne qui contient la date et heure mises en forme.

S’applique à