DOMAttributeCollection

From Virtual World Web Wiki
Jump to: navigation, search

Represents a collection of attributes used for DOM Attribution. This is a part of the infrastructure and should not be used directly unless you are creating a custom attributed object type directly.

Remarks [edit]

Properties

int Count {get;}
Guid? DerivedTypeID {get; set;}
Guid? SerializedHash {get; set;}

Events

Changed(EventHandler)

Constructors

DOMAttributeCollection()

Methods

bool GetAttribute<T>(DOMObject node, string propertyName, string attributeName, out T value)
IEnumerable<DOMAttribute> GetAttributes(DOMObject node, Guid? nodeIndex = NULL)
IEnumerator<KeyValuePair<Guid, List<DOMAttribute>>> GetEnumerator()
IEnumerable<DOMAttribute> GetObjectAttributes(DOMObject node)
IEnumerable<string> GetPropertiesWithAttribute(DOMObject node, string attributeName)
IEnumerable<DOMAttribute> GetPropertyAttributes(DOMObject node, string propertyName)
void RemoveAttribute(Guid? nodeIndex, string propertyName = NULL, string attributeName = NULL)
void SetAttribute(Guid? nodeIndex, string propertyName, string attributeName, object attributeValue)