TextContainsIllegalOpenXmlCharacters(String) Method (OpenXmlDocumentEditor)
Determines whether text contains illegal open XML characters.
'Declaration
Public Shared Function TextContainsIllegalOpenXmlCharacters( _
ByVal As System.String _
) As Boolean
public static bool TextContainsIllegalOpenXmlCharacters(
System.String
)
public: static bool TextContainsIllegalOpenXmlCharacters(
System.String
)
public:
static bool TextContainsIllegalOpenXmlCharacters(
System.String
)
Parameters
- text
- The text.
Return Value
True if text has illegal open XML characters; otherwise, false.
Target Platforms: .NET9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5