Share via


IRTCUserSearchResult::get_Value

The get_Value property gets the value in the specified column of the search result.

HRESULT get_Value(RTC_USER_SEARCH_COLUMNenColumn,
BSTR*pbstrValue);

Parameters

  • enColumn
    [in] An RTC_USER_SEARCH_COLUMN enumeration indicating the column from which the value is to be retrieved.
  • pbstrValue
    [out] Pointer to a BSTR where the value is returned. The caller is responsible for freeing this memory with SysFreeString.

Return Values

RTC methods may return an RTC_E_ constant.

Value Meaning
E_POINTER The pbstrValue parameter is not a valid pointer.
RTC_E_NOT_EXIST There is no value for this enumeration property.
E_INVALIDARG The enColumn enumeration value is not valid.

Requirements

Redistributable: Requires Rtcdll.dll on Windows 2000, Windows XP, and Windows Server 2003.
Header: Declared in Rtccore.h.
Library: Included as a resource in Rtcdll.dll.
GUID: IID_IRTCUserSearchResult is defined as 851278B2-9592-480f-8DB5-2DE86B26B54D.

See Also

IRTCUserSearchResult, IRTCUserSearch, IRTCUserSearchResultsEvent, Receive a Search Response