ExtensionMethodsSafeGetElementValue Method

Scanjour Workflow4 Reference Manual

[Missing <summary> documentation for "M:Scanjour.Workflow4.Base.ExtensionMethods.SafeGetElementValue(System.Xml.Linq.XDocument,System.String)"]

Namespace:  Scanjour.Workflow4.Base
Assembly:  Scanjour.Workflow4.Base (in Scanjour.Workflow4.Base.dll) Version: 23.2.0.0 (23.2.0.0)
Syntax

public static string SafeGetElementValue(
	this XDocument xDocument,
	string elementName
)

Parameters

xDocument
Type: System.Xml.LinqXDocument

[Missing <param name="xDocument"/> documentation for "M:Scanjour.Workflow4.Base.ExtensionMethods.SafeGetElementValue(System.Xml.Linq.XDocument,System.String)"]

elementName
Type: SystemString

[Missing <param name="elementName"/> documentation for "M:Scanjour.Workflow4.Base.ExtensionMethods.SafeGetElementValue(System.Xml.Linq.XDocument,System.String)"]

Return Value

Type: String

[Missing <returns> documentation for "M:Scanjour.Workflow4.Base.ExtensionMethods.SafeGetElementValue(System.Xml.Linq.XDocument,System.String)"]

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type XDocument. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also

Reference