IPrintPipelinePropertyBag::AddProperty method

The AddProperty method adds a property to a property bag.

Syntax


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

Parameters

pszName [in]

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.

pVar [in]

The VARIANT value to add to the property bag.

Return value

AddProperty returns an HRESULT value.

Requirements

Target platform

Desktop

IDL

Filterpipeline.idl

 

 

Send comments about this topic to Microsoft

Show:
© 2015 Microsoft