XmpValue

XmpValue class

Rappresenta il valore XMP

public class XmpValue

Costruttori

NomeDescrizione
XmpValue(DateTime)Costruttore per valore data ora.
XmpValue(double)Costruttore per valore in virgola mobile.
XmpValue(int)Costruttore per valore intero.
XmpValue(string)Costruttore per valore stringa.
XmpValue(XmpValue[])Costruttore per il valore dell’array.

Proprietà

NomeDescrizione
IsArray { get; }Restituisce true se XmpValue è array.
IsDateTime { get; }Restituisce vero se il valore è DateTime.
IsDouble { get; }Restituisce vero se il valore è un valore in virgola mobile.
IsField { get; }Restituisce vero se XmpValue è campo.
IsInteger { get; }Restituisce vero se il valore è intero.
IsNamedValue { get; }Restituisce vero se XmpValue è denominato valore.
IsNamedValues { get; }Restituisce true se XmpValue rappresenta valori denominati.
IsRaw { get; }Il valore non è supportato/sconosciuto e viene fornito codice XML non elaborato.
IsString { get; }Restituisce vero se il valore è stringa.
IsStructure { get; }Restituisce true se XmpValue rappresenta la struttura.

Metodi

NomeDescrizione
ToArray()Restituisce l’array.
ToDateTime()Converte in data e ora.
ToDictionary()Restituisce il dizionario che contiene valori denominati.
ToDouble()Viene convertito in doppio.
ToField()Restituisce il valore XMP come campo XMP.
ToInteger()Converte in numero intero.
ToNamedValue()Restituisce il valore XMP come valore denominato.
ToNamedValues()Restituisce il valore XMP come raccolta di valori denominati.
ToRaw()Codice XML non elaborato per valori sconosciuti/non supportati.
override ToString()Restituisce la rappresentazione di stringa di XmpValue.
ToString(IFormatProvider)Restituisce la rappresentazione della stringa.
ToStringValue()Converte in stringa.
ToStructure()Restituisce il valore XMP come struttura (insieme di campi).
explicit operatorConverte XmpValue in array. (5 operators)
implicit operatorConverte la stringa in XmpValue. (5 operators)

Guarda anche