IVisualTreeService::GetEnums method (xamlom.h)

Gets an array of all the enums defined in the XAML runtime and the total count.

Syntax

HRESULT GetEnums(
  [out] unsigned int *pCount,
  [out] EnumType     **ppEnums
);

Parameters

[out] pCount

The count of enums in the array.

[out] ppEnums

An array of enums defined in the XAML runtime.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code. This method should not fail in normal conditions.

Requirements

Requirement Value
Minimum supported client Windows 10 [desktop apps only]
Minimum supported server Windows Server 2016 [desktop apps only]
Target Platform Windows
Header xamlom.h

See also

IVisualTreeService