SoapAttribute Method (Windows CE 5.0)

Send Feedback

This method adds an attribute to an element when building a SOAP message.

HRESULT SoapAttribute( BSTRname,BSTRns_uri,BSTRvalue,BSTRprefix);

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 Values

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

OS Versions: Windows CE .NET 4.0 and later.
Header: Mssoap.h.
Link Library: Uuid.lib.

See Also

ISoapSerializer

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.