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