NumberFormatInfo.ReadOnly(NumberFormatInfo) Méthode
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.
Renvoie un wrapper en lecture seule NumberFormatInfo .
public:
static System::Globalization::NumberFormatInfo ^ ReadOnly(System::Globalization::NumberFormatInfo ^ nfi);
public static System.Globalization.NumberFormatInfo ReadOnly(System.Globalization.NumberFormatInfo nfi);
static member ReadOnly : System.Globalization.NumberFormatInfo -> System.Globalization.NumberFormatInfo
Public Shared Function ReadOnly (nfi As NumberFormatInfo) As NumberFormatInfo
Paramètres
- nfi
- NumberFormatInfo
À NumberFormatInfo encapsuler.
Retours
Wrapper en lecture seule NumberFormatInfo autour nfi.
Exceptions
nfi a la valeur null.
Remarques
Ce wrapper empêche toute modification apportée à nfi.
La tentative d’exécution d’une affectation à une propriété d’une propriété en lecture seule NumberFormatInfo provoque un InvalidOperationException.