Sisk

Method

XmlNodeExtensions.WithAttributes<TXmlNode>

Namespace
TinyComponents
Assembly
TinyComponents.dll

WithAttributes<TXmlNode>(TXmlNode, object?) #

Specifies multiple attributes for this INode from an object.

C#
public static TXmlNode WithAttributes<TXmlNode>(this TXmlNode node, object? attributesObject) where TXmlNode : INode

Parameters #

node TXmlNode

The current INode.

attributesObject object?

The object containing attribute names and values.

Returns #

TXmlNode

The self INode object for fluent chaining.

Type Parameters #

TXmlNode

The object type which implements INode.

Type to search the documentation and the API reference.