ICMSPageGetElementValue Method
|
Gets the value of the first
Element matching the given name.
Namespace:
Ingeniux.Runtime
Assembly:
IGXRuntimeAPI (in IGXRuntimeAPI.dll) Version: 10.3.169
Syntax string GetElementValue(
XName name,
string nameAttributeValue = ""
)
Function GetElementValue (
name As XName,
Optional nameAttributeValue As String = ""
) As String
String^ GetElementValue(
XName^ name,
String^ nameAttributeValue = L""
)
abstract GetElementValue :
name : XName *
?nameAttributeValue : string
(* Defaults:
let _nameAttributeValue = defaultArg nameAttributeValue ""
*)
-> string
Parameters
- name
- Type: System.Xml.LinqXName
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:
StringThe value of the Element if it exists. Returns empty string otherwise.
See Also