Gets the first child
Element with the given name.
Namespace:
Ingeniux.Runtime
Assembly:
IGXRuntimeAPI (in IGXRuntimeAPI.dll) Version: 10.3.169
Syntax ICMSElement Element(
XName name,
string nameAttributeValue = ""
)
Function Element (
name As XName,
Optional nameAttributeValue As String = ""
) As ICMSElement
ICMSElement^ Element(
XName^ name,
String^ nameAttributeValue = L""
)
abstract Element :
name : XName *
?nameAttributeValue : string
(* Defaults:
let _nameAttributeValue = defaultArg nameAttributeValue ""
*)
-> ICMSElement
Parameters
- name
- Type: System.Xml.LinqXName
Name of the Element to get. Can pass in a string name directly if no namespace is involved. - nameAttributeValue (Optional)
- Type: SystemString
The value of "Name" Attribute as additional query, optional
Return Value
Type:
ICMSElementReturns null if no child element has the given name.
See Also Reference
ICMSPageElement(XName, String)