IPrintPipelinePropertyBag::AddProperty method (filterpipeline.h)

The AddProperty method adds a property to a property bag.

Syntax

HRESULT AddProperty(
  [in] const wchar_t *pszName,
  [in] const VARIANT *pVar
);

Parameters

[in] pszName

The name of the property that you want to add to the property bag. You should uniquely identify this property so that it does not collide with others. For example, use a name like MyCompanyName-MySetting.

[in] pVar

The VARIANT value to add to the property bag.

Return value

AddProperty returns an HRESULT value.

Requirements

Requirement Value
Target Platform Desktop
Header filterpipeline.h