Share via


ITransformProperties::get_PropertyByName

The get_PropertyByName method retrieves a property in the collection by name.

Syntax

HRESULT get_PropertyByName(
  LPCTSTR  szName,
  ITransformProperty**  ppProperty
);

Parameters

szName

[in]  The name of the property to retrieve.

ppProperty

[out]  Address of a pointer to the property that was requested. The caller must release this interface when it is no longer needed.

Remarks

You can query the returned property for ITransformProperties to examine any child properties that it may have.

Return Values

The method returns an HRESULT of S_OK for success, or a standard COM error code for failure.

Requirements

Client: Windows Vista

Header: Include gputransformplugin.h and GPUPipelineTime.h.

Library: Use GPUPipelineVC7.lib (for Visual Studio .NET) or GPUPipelineVC8.lib (for Visual Studio 2005).

See Also