AVBlocks for .NET  3.0
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.
 
 MetaAttribute (string name, string value)
 Constructs a Metadata attribute with a specified name and value.
 
virtual object Clone ()
 Creates a copy of this object.
 

Properties

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

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

◆ MetaAttribute() [1/2]

Constructs a default Metadata attribute.

Name and Value are null.

Referenced by MetaAttribute.Clone().

◆ MetaAttribute() [2/2]

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.

References MetaAttribute.Name, and MetaAttribute.Value.

Member Function Documentation

◆ Clone()

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.MetaAttribute().

Property Documentation

◆ Immutable

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.

◆ Name

string Name
getset

Attribute name.

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

Referenced by MetaAttribute.MetaAttribute().