| ScanUtilsxeElementValueAsString Method  | 
            Extract value as string from JSON.
            
 
Namespace: asprise_imaging_apiAssembly: asprise-imaging-scan.net-api (in asprise-imaging-scan.net-api.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic static string xeElementValueAsString(
	XElement xe,
	string elementName,
	string defaultValue = null
)
Public Shared Function xeElementValueAsString ( 
	xe As XElement,
	elementName As String,
	Optional defaultValue As String = Nothing
) As String
public:
static String^ xeElementValueAsString(
	XElement^ xe, 
	String^ elementName, 
	String^ defaultValue = nullptr
)
static member xeElementValueAsString : 
        xe : XElement * 
        elementName : string * 
        ?defaultValue : string 
(* Defaults:
        let _defaultValue = defaultArg defaultValue null
*)
-> string 
Parameters
- xe
 - Type: System.Xml.LinqXElement
 - elementName
 - Type: SystemString
 - defaultValue (Optional)
 - Type: SystemString
 
Return Value
Type: 
String
See Also