Compartir a través de


ITransformProperties::get_PropertyByName method

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

Syntax

HRESULT get_PropertyByName(
  [in]  LPCTSTR            szName,
  [out] 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.

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