Add Method

Add Method

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

The Add method adds a new attribute and value pair to the collection.

Applies To

IFormAttributes Interface

Type Library

Exchange Web Storage System Forms 1.0 Type Library

DLL Implemented In

EXWFORM.DLL

Syntax

[Visual Basic]Sub Add
(
    bstrName As String,     [bNameOnly As Boolean],     [bstrValue As String]
)

[C++]HRESULT Add (     BSTR bstrName,     VARIANT_BOOL bNameOnly,     BSTR bstrValue );

Parameters

  • bstrName
    This parameter contains the name of the new attribute.
  • bNameOnly
    This parameter indicates whether the new attribute has a name only. The default value is 0. This parameter is optional.
  • bstrValue
    This parameter contains the value of the new attribute. The default value is an empty string. This parameter is optional.

Return Value

Returns S_OK if successful, or an error value otherwise.

Send us your feedback about the Microsoft Exchange Server 2003 SDK.

Build: June 2007 (2007.618.1)

© 2003-2006 Microsoft Corporation. All rights reserved. Terms of use.