XmlUtilisXmlEncName Method |
Return true if the passed string conforms to the XML
EncName production.
[81] EncName ::= [A-Za-z] ([A-Za-z0-9._] | '-')*
Namespace: DXMLBase.XmlAssembly: DXMLBase (in DXMLBase.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic static bool isXmlEncName(
string str
)
Public Shared Function isXmlEncName (
str As String
) As Boolean
public:
static bool isXmlEncName(
String^ str
)
static member isXmlEncName :
str : string -> bool
Parameters
- str
- Type: SystemString
The string to check.
Return Value
Type:
Boolean if the passed string conforms to the XML EncName
production.
See Also