|  | This document is archived and information here might be outdated. Recommended version. | 
Adds new member name-value pair to the member collection. Returns E_FAIL if duplicate member is found.
[Visual Basic .NET]
Public Sub AddBoolean ( _
    ByVal Name As String, _
    ByVal Value As Boolean _
)
[C#]
public void AddBoolean (
    string Name,
    bool Value
);
[C++]
HRESULT AddBoolean(
  BSTR Name,
  VARIANT_BOOL Value
);
[C++] Parameters Name [in]
Name is a parameter of type BSTR Value [in]
Value is a parameter of type bool