SerializationInfo.GetUInt64(String) Metodo
Definizione
Importante
Questa API non è conforme a CLS.
Recupera un valore intero senza segno a 64 bit dall'archivio SerializationInfo.Retrieves a 64-bit unsigned integer value from the SerializationInfo store.
public:
System::UInt64 GetUInt64(System::String ^ name);
[System.CLSCompliant(false)]
public ulong GetUInt64 (string name);
[<System.CLSCompliant(false)>]
member this.GetUInt64 : string -> uint64
Public Function GetUInt64 (name As String) As ULong
Parametri
- name
- String
Nome associato al valore da recuperare.The name associated with the value to retrieve.
Restituisce
Intero senza segno a 64 bit associato a name
.The 64-bit unsigned integer associated with name
.
- Attributi
Eccezioni
name
è null
.name
is null
.
Il valore associato a name
non può essere convertito in un intero senza segno a 64 bit.The value associated with name
cannot be converted to a 64-bit unsigned integer.
Non è possibile trovare un elemento con il nome specificato nell'istanza corrente.An element with the specified name is not found in the current instance.
Commenti
Se il valore è un Unsigned Integer a 64 bit oppure può essere convertito in uno, viene restituito tale valore; in caso contrario, InvalidCastException viene generata un'eccezione.If the value is a 64-bit unsigned integer, or can be converted to one, that value is returned; otherwise, a InvalidCastException is thrown. Tutte le conversioni vengono eseguite dall'oggetto IFormatterConverter associato a SerializationInfo .All conversions are done by the IFormatterConverter associated with this SerializationInfo.