AVBlocks for .NET  2.3
Audio and Video Software Development Kit
MetaAttribute Class Reference

MetaAttribute describes a textual meta information that is part of an audio or video file. More...

Inheritance diagram for MetaAttribute:

Public Member Functions

 MetaAttribute ()
 Constructs a default Metadata attribute. More...
 
 MetaAttribute (string name, string value)
 Constructs a Metadata attribute with a specified name and value. More...
 
virtual object Clone ()
 Creates a copy of this object. More...
 

Properties

bool Immutable [get]
 Returns whether the object is immutable. More...
 
string Name [get, set]
 Attribute name More...
 
string Value [get, set]
 Attribute value More...
 

Detailed Description

MetaAttribute describes a textual meta information that is part of an audio or video file.

See also
PrimoSoftware.AVBlocks.Metadata.Attributes

Constructor & Destructor Documentation

Constructs a default Metadata attribute.

Name and Value are null.

MetaAttribute ( string  name,
string  value 
)

Constructs a Metadata attribute with a specified name and value.

Parameters
nameThe attribute name may not be unique within a Metadata.Attributes collection.
valueThe attribute value expressed as a string.

Member Function Documentation

virtual object Clone ( )
virtual

Creates a copy of this object.

Returns
MetaAttribute object

The returned object is a mirror image of the cloned object

References MetaAttribute.Immutable.

Property Documentation

bool Immutable
get

Returns whether the object is immutable.

An immmutable object cannot be modified and all modifying methods fail to produce a result.

An immutable object can be modified by the AVBlocks library.

Object immutability spreads to all nested objects. Therefore it is not possible to add/set an immutable object to a mutable object.

When cloned an immutable object becomes mutable.

Referenced by MetaAttribute.Clone().

string Name
getset

Attribute name

Common meta attribute names are defined in PrimoSoftware.AVBlocks.Meta

string Value
getset

Attribute value