Partager via


ITransformProperties::get_PropertyByIndex method

The get_PropertyByIndex method retrieves a property in the collection by index.

Syntax

HRESULT get_PropertyByIndex(
  [in]  long               lIndex,
  [out] ITransformProperty **ppProperty
);

Parameters

lIndex [in]

A zero-based index to a property in the collection.

ppProperty [out]

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

Return value

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

Remarks

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

Requirements

Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2008 [desktop apps only]
Header
GPUPipelineTime.h
Library
GPUPipelineVC8.lib (Visual Studio 2005);
GPUPipelineVC7.lib (Visual Studio .NET)

See also

ITransformProperties Interface