ExtensionMethodsSafeParseXml(String, String) Method

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

Definition

Namespace: Scanjour.Workflow4.Base
Assembly: Scanjour.Workflow4.Base (in Scanjour.Workflow4.Base.dll) Version: 24.4.0.0 (24.4.0.0)
C#
public static XDocument SafeParseXml(
	this string str,
	string encoding = "utf-8"
)

Parameters

str  String

[Missing <param name="str"/> documentation for "M:Scanjour.Workflow4.Base.ExtensionMethods.SafeParseXml(System.String,System.String)"]

encoding  String  (Optional)

[Missing <param name="encoding"/> documentation for "M:Scanjour.Workflow4.Base.ExtensionMethods.SafeParseXml(System.String,System.String)"]

Return Value

XDocument

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

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type String. 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