Click or drag to resize

MetadataCollection Class

Contains a collection of metadata like AC Voltage or Temperature.
Inheritance Hierarchy
SystemObject
  System.Collections.ObjectModelCollectionMetadata
    RelaxIS_SDK.CommonMetadataCollection

Namespace: RelaxIS_SDK.Common
Assembly: RelaxIS SDK (in RelaxIS SDK.dll) Version: 3.0.23.63
Syntax
public class MetadataCollection : Collection<Metadata>, 
	IXmlSerializable

The MetadataCollection type exposes the following members.

Constructors
 NameDescription
Public methodMetadataCollectionInitializes a new instance of the MetadataCollection class
Top
Properties
 NameDescription
Public propertyValue Gets or sets the value of the metadata object with the given name in the collection.
Top
Methods
 NameDescription
Public methodAdd Adds a new Metadata object to the collection.
Public methodAddRange Adds a range of items to the collection.
Public methodContains Checks if a Metadata object with the given name is in the collection.
Public methodGetSchemaThis method is reserved and should not be used. When implementing the IXmlSerializable interface, you should return ( in Visual Basic) from this method, and instead, if specifying a custom schema is required, apply the XmlSchemaProviderAttribute to the class.
Public methodReadXmlGenerates an object from its XML representation.
Public methodRemove Tries to remove the item with the given name from the collection.
Public methodSetOrCreate Sets the value of the metadata with the given name to the specified value. If no Metadata with the name is present, it will be added to the list.
Public methodToDictionary Converts the collection to a dictionary with the names as keys and the values as values.
Public methodTryGetValue Checks if the metadata collection contains the metadata field with the given name. If yes, it is placed as Value.
Public methodWriteXmlConverts an object into its XML representation.
Top
See Also