Share via


ISdpRecord::SetAttribute (Compact 2013)

3/26/2014

This method adds or replaces an attribute and its value.

Syntax

HRESULT SetAttribute(
  USHORT attribute,
  NodeData* pNode
);

Parameters

  • attribute
    [in] Attribute to add or replace.
  • pNode
    [in] Pointer to the NodeData structure containing the attribute data.

Return Value

Returns S_OK on success; otherwise returns standard HRESULT values as appropriate.

See Also

Reference

ISdpRecord
NodeData