DateTimeFormatInfo.ReadOnly(DateTimeFormatInfo) Methode

Definition

Gibt einen schreibgeschützten DateTimeFormatInfo-Wrapper zurück.

public:
 static System::Globalization::DateTimeFormatInfo ^ ReadOnly(System::Globalization::DateTimeFormatInfo ^ dtfi);
public static System.Globalization.DateTimeFormatInfo ReadOnly (System.Globalization.DateTimeFormatInfo dtfi);
static member ReadOnly : System.Globalization.DateTimeFormatInfo -> System.Globalization.DateTimeFormatInfo
Public Shared Function ReadOnly (dtfi As DateTimeFormatInfo) As DateTimeFormatInfo

Parameter

dtfi
DateTimeFormatInfo

Das DateTimeFormatInfo-Objekt, für das der Wrapper erstellt wird.

Gibt zurück

DateTimeFormatInfo

Ein schreibgeschützter DateTimeFormatInfo-Wrapper.

Ausnahmen

dtfi ist null.

Hinweise

Dieser Wrapper verhindert jegliche Änderungen an dtfi .

Gilt für

Siehe auch