ISharedPropertyGroup::get_Property method (comsvcs.h)

Retrieves a reference to an existing shared property with the specified name.

Syntax

HRESULT get_Property(
  [in]  BSTR            Name,
  [out] ISharedProperty **ppProperty
);

Parameters

[in] Name

The name that was used to create the shared property that is retrieved.

[out] ppProperty

A reference to the shared property specified in the Name parameter, or NULL if the property does not exist.

Return value

This method can return the standard return values E_INVALIDARG, E_OUTOFMEMORY, and E_FAIL, as well as the following values.

Return code Description
S_OK
The shared property exists, and a reference to it is returned in the ppProperty parameter.
E_INVALIDARG
The shared property with the name specified in the Name parameter does not exist.

Requirements

   
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header comsvcs.h

See also

ISharedProperty

ISharedPropertyGroup