BuildComponentUtilitiesIsLegalXmlText Method
This is used to confirm that the specified text only contains legal XML characters
Namespace: Sandcastle.Core.BuildAssemblerAssembly: Sandcastle.Core (in Sandcastle.Core.dll) Version: 2024.9.12.0
public static bool IsLegalXmlText(
this string text
)
<ExtensionAttribute>
Public Shared Function IsLegalXmlText (
text As String
) As Boolean
public:
[ExtensionAttribute]
static bool IsLegalXmlText(
String^ text
)
[<ExtensionAttribute>]
static member IsLegalXmlText :
text : string -> bool
- text String
- The text to check
BooleanTrue if all characters are legal XML characters, false if notIn 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).