If known returns a canonical prefix for a given XML namespace
Namespace: Composite.Core.XmlAssembly: Composite (in Composite.dll) Version: 5.3.6135.33083
Syntax
C# |
---|
public static bool TryGetCanonicalPrefix( XNamespace xmlns, out string prefix ) |
Visual Basic |
---|
Public Shared Function TryGetCanonicalPrefix ( _ xmlns As XNamespace, _ <OutAttribute> ByRef prefix As String _ ) As Boolean |
Visual C++ |
---|
public: static bool TryGetCanonicalPrefix( XNamespace^ xmlns, [OutAttribute] String^% prefix ) |
Parameters
- xmlns
- Type: System.Xml.Linq..::..XNamespace
Namespace to match
- prefix
- Type: System..::..String%
prefix for namespace, if any