TryGetXmlElementAttribute Method
Definition
- Assemblies
- Cuemon.Xml.dll
TryGetXmlElementAttribute(IDecorator<IHierarchy<object>>, out XmlElementAttribute)
Attempts to get an XmlElementAttribute from the underlying IHierarchy<T> of the decorator.
public static bool TryGetXmlElementAttribute(this IDecorator<IHierarchy<object>> decorator, out XmlElementAttribute xmlAttribute)
Parameters
decoratorIDecorator<IHierarchy<object>>The decorator that wraps the IHierarchy<T> to extend.
xmlAttributeXmlElementAttributeWhen this method returns, contains the XmlElementAttribute associated with the underlying IHierarchy<T> of the
decorator.
Returns
- bool
trueif underlying IHierarchy<T> of thedecoratorcontains an XmlElementAttribute,falseotherwise.