SoapAttribute Method (Windows Embedded CE 6.0)
1/6/2010
This method adds an attribute to an element when building a SOAP message.
Syntax
HRESULT SoapAttribute(
BSTR name,
BSTR ns_uri,
BSTR value,
BSTR prefix
);
Parameters
- name
[in] Attribute name.
- ns_uri
[in] Optional. Universal Resource Identifier (URI) for the attribute's namespace. The default is "". If this parameter is missing or is an empty string, the element is in the default namespace.
- value
[in] Optional. Attribute value. The default is "". If this parameter is missing or is an empty string, the attribute's value is an empty string.
- prefix
[in] Optional. Namespace prefix used for the element. The default is "". If this parameter is missing or is an empty string, a namespace prefix is generated as needed.
Return Value
The following table describes the common return values.
Value | Description |
---|---|
S_OK |
Success. |
E_NOTIMPL |
The function contains no implementation. |
E_OUTOFMEMORY |
Out of memory. |
Requirements
Header | mssoap.h |
Library | uuid.lib |
Windows Embedded CE | Windows CE .NET 4.0 and later |