Class Meta
- Namespace
- MigraDoc.DocumentObjectModel.Internals
- Assembly
- MigraDoc.DocumentObjectModel.dll
Metaclass for document objects.
public sealed class Meta
- Inheritance
-
objectMeta
Constructors
- Meta(Type)
Initializes a new instance of the Meta class.
Properties
- this[string]
Gets the DomValueDescriptor of the member specified by name from the DocumentObject.
- ValueDescriptors
Gets the DomValueDescriptorCollection of the DocumentObject.
Methods
- GetMeta(DocumentObject)
Gets the metaobject of the specified document object.
- GetValue(DocumentObject, string, GV)
Gets the object specified by name from dom.
- HasName(string)
Determines whether this metaobject contains a value descriptor with the specified name.
- HasValue(string)
Determines whether this meta contains a value with the specified name.
- IsNull(DocumentObject)
Determines whether all members of the specified dom are null. If dom contains no members IsNull returns true.
- IsNull(DocumentObject, string)
Determines whether the member of dom specified by name is null. If a member with the specified name does not exist an ArgumentException will be thrown.
- SetNull(DocumentObject)
Sets all members of the specified dom to null.
- SetNull(DocumentObject, string)
Sets the member of dom specified by name to null. If a member with the specified name does not exist an ArgumentException will be thrown.
- SetValue(DocumentObject, string, object?)
Sets the member of dom specified by name to val. If a member with the specified name does not exist an ArgumentException will be thrown.