Method WithAttribute<TXmlNode>
Namespace: TinyComponents
Assembly: TinyComponents.dll
WithAttribute<TXmlNode>(TXmlNode, string)
Specifies an attribute for this INode.
public static TXmlNode WithAttribute<TXmlNode>(this TXmlNode node, string value) where TXmlNode : INode
Parameters
node TXmlNode
The current INode.
value string
The attribute name and value.
Returns
TXmlNode
The self INode object for fluent chaining.
Type Parameters
TXmlNode
The object type which implements INode.
WithAttribute<TXmlNode>(TXmlNode, string, object?)
Specifies an attribute for this INode.
public static TXmlNode WithAttribute<TXmlNode>(this TXmlNode node, string name, object? value) where TXmlNode : INode
Parameters
node TXmlNode
The current INode.
name string
The attribute name.
value object?
The attribute value.
Returns
TXmlNode
The self INode object for fluent chaining.
Type Parameters
TXmlNode
The object type which implements INode.
English
Русский
Português
Español
Deutsch
中文 (简体)
日本語