IValueMap::Value property

Retrieves or sets the value of the collection.

This property is read/write.

Syntax


HRESULT put_Value(
  [in]           VARIANT Value
);

HRESULT get_Value(
  [out, retval]  VARIANT *Value
);

Property value

The value of the collection.

Error codes

Returns S_OK if successful.

Remarks

Depending on the value of the IValueMap::ValueMapType property, this value is either one of the values in the collection or the value derived by combining all the item values in the collection with the OR operator.

The variant type is VT_UI8 if the ValueMapType enumeration is plaIndex, plaFlag or plaFlagArray.

The variant type is VT_UI4 if the ValueMapType enumeration is plaValidation.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Pla.h

DLL

Pla.dll

See also

IValueMap
IValueMap::ValueMapType

 

 

Community Additions

ADD
Show:
© 2014 Microsoft