XmpField
Vue de l’ensemble
‘XmpField’ est une classe dans Aspose.PDF FOSS pour .NET.
Un champ nommé XMP — un couple (prefix, nom local) plus une valeur typée.
Cette classe fournit 6 méthodes pour travailler avec des objets XmpField dans les programmes .NET. Les méthodologies disponibles comprennent: ‘Equals’, ‘GetHashCode’, ToArray', ‘ToStructure’, 'XmpFeld'. Tous les membres publics sont accessibles à n'importe quelle application .Net après l'installation de la FOSS Aspose.PDF pour le package .net. Propriétés : 'Empty', ’FielType', ‚Is Emptys', ''Lang, ‘LocalName’, ‘’Nome‘ et 3 autres.
Propriétés
| Name | Type | Access | Description |
|---|---|---|---|
Prefix | string? | Read/Write | The XML prefix (e.g. |
LocalName | string? | Read/Write | The XML local name (e.g. |
NamespaceUri | string? | Read/Write | The XML namespace URI bound to Prefix. |
Name | string | Read | Combined name in “prefix:localName” form (or just the local name when no prefix is set). |
FieldType | XmpFieldType | Read | Field category. |
Value | XmpValue? | Read | The field value, or null when this is an empty placeholder. |
Empty | XmpField | Read | Singleton empty field. |
IsEmpty | bool | Read | True when the field carries no value. |
Lang | XmpField? | Read | The xml:lang qualifier attached to this field (or null when none). |
méthodes
| Signature | Description |
|---|---|
XmpField() | Default-construct an empty field. |
XmpField(prefix: string?, localName: string?, namespaceUri: string?, value: XmpValue?, type: XmpFieldType) | Construct a fully-populated field. |
ToArray() | Unwrap the field’s value as an array, or empty when the value isn’t array-typed. |
ToStructure() | Unwrap the field’s value as a struct (named-field array), or empty when the value isn’t struct-typed. |
Equals(obj: object?) | Calls Equals on this XmpField instance. |
GetHashCode() | Calls GetHashCode on this XmpField instance. |
Voir aussi
- Aspose.PDF pour .NET — API d’entreprise