RegisterNamespacePrefix Method
In This Topic
Registers as a namespace prefix for the namespace.
Syntax
'Declaration
Public Sub RegisterNamespacePrefix( _
ByVal As System.String, _
ByVal As System.String _
)
public void RegisterNamespacePrefix(
System.string ,
System.string
)
Parameters
- prefix
- The prefix to register.
- ns
- The target namespace.
Exceptions
Exception | Description |
System.ArgumentNullException | The exception that is thrown when a null reference (Nothing in Visual Basic) is passed to a method that does not accept it as a valid argument. |
GrapeCity.Documents.Svg.SvgException.PrefixAlreadyRegistered(System.String) | |
See Also