DOMAttribute

From Virtual World Web Wiki
Jump to: navigation, search

Represents a Object Type DOM Attribute. DOM Attribution allows you to add metadata to nodes and properties of an Object Types. Much like attributes in C# these attributes are available on all instances of an object type in the DOM.

Remarks [edit]

Properties

string AttributeName {get; set;}
The formal name of the attribute being applied
ProtoValue AttributeValue {get; set;}
The value of the attribute
bool IsDerived {get; set;}
True if this attribute is not defined here, but on a parent referenced object type
bool IsReadOnly {get; set;}
True if this attrinute's value
bool IsSystem {get; set;}
True if this attribute is code / system defined
string PropertyName {get; set;}
Optional property name to which this attribute applies. If not supplied, the attribute applies to the node itself

Constructors

DOMAttribute()
Constructs a new DOMAttribute
DOMAttribute(string attributeName, object attributeValue, string propertyName)
Constructs a new DOMAttribute

Methods

object Clone()
Makes a copy of this DOMAttribute
bool Equals(object obj)
Tests two DOMAttribute objects for structural equality
int GetHashCode()