What is SetAttributes(IEnumerable<OpenXmlAttribute>) in Ruby?
What is Ruby?
Ruby is a pure object-oriented language. One of its key features is its simplicity compared to other languages. It is easy to read and write.
Features of Ruby
-
It can be linked with HTML.
-
Its simplicity makes it easier for new developers to learn the language.
-
It is used for developing internet and intranet applications.
-
It has a significant number of built-in functions, which increases the functionality of the language.
-
It has a syntax similar to C++ and many other programming languages.
-
It is connectable to MySQL, Oracle, and DB2.
-
It is a server-side language identical to Perl and Python.
SetAttributes(IEnumerable<OpenXmlAttribute>)
This sets an attribute to the selected element. The value of the attribute is set when it is a known attribute. openxmlAttribute is added to the extended attributes list when there is an extended attribute.
Syntax
public void SetAttributes (System.Collections.Generic.IEnumerable<DocumentFormat.OpenXml.OpenXmlAttribute> openXmlAttributes);
Parameters
openXmlAttribute: The attribute to be set on the element.