Get the value of first matching element if exists, otherwise, return emtpy string
Namespace: Ingeniux.RuntimeAssembly: IGXRuntimeAPI90 (in IGXRuntimeAPI90.dll) Version: 9.0.82.0 (9.0.82)
Syntax
| C# |
|---|
public string GetElementValue( XName name, string nameAttributeValue = "" ) |
| Visual Basic |
|---|
Public Function GetElementValue ( name As XName, Optional nameAttributeValue As String = "" ) As String |
| Visual C++ |
|---|
public: virtual String^ GetElementValue( XName^ name, String^ nameAttributeValue = L"" ) sealed |
Parameters
- name
- Type: System.Xml.Linq..::..XName
Name of the element to find
- nameAttributeValue (Optional)
- Type: System..::..String
Value of "Name" attribute, if provided, serve as additional query
Return Value
Type: StringElement value or empty string