WriteQualifiedName (Compact 7)
3/12/2014
This method writes out the specified namespace-qualified name by looking up the prefix that is in scope for the specified namespace.
Syntax
HRESULT WriteQualifiedName (
const WCHAR* pwszLocalName,
const WCHAR* pwszNamespaceUri
);
Parameters
- pwszLocalName
The local name to write. NULL is not valid.
- pwszNamespaceUri
The namespace URI of the name to write. NULL is the same as an empty string.
Return Value
This method returns S_OK if no error is generated.
Remarks
This method outputs the qualified name when it is given the specified namespace and local name. If the provided namespace is not in scope, this method returns an error. If the provided namespace is in scope and the namespace has a namespace prefix, this method writes the qualified name with the prefix. If the namespace provided is the current default namespace, the name does not need a prefix and this method does not produce one.