ISOAPNamespaces::GetURIForPrefix Method

HRESULT GetURIForPrefix([in] BSTR prefix, [out, retval] BSTR * NamespaceURI);

Given a particular namespace prefix, return the namespace URI currently associated with it.

 

Parameters

prefix
BSTR, [in]: The prefix to look for
NamespaceURI
BSTR *, [out, retval]: The namespace URI current associated with that prefix

 

Return Values

The namespace URI is returned if the prefix is found, otherwise the error E_INVALIDARG is returned.

 

Sample Code


 

See Also

The ISOAPNamespaces Interface | 

 

 

Copyright

Copyright © Simon Fell, 2000-2004. All rights reserved.