次の方法で共有


IXRUIElementCollection::GetCount (Compact 2013)

3/28/2014

This method retrieves the number of items in the IXRUIElementCollection collection.

Syntax

virtual HRESULT STDMETHODCALLTYPE GetCount(
  __out int* pCount
) = 0;

Parameters

  • pCount
    [out] Pointer to an integer value that specifies the number of items in this collection.

Return Value

Returns S_OK if successful; otherwise, returns an HRESULT error code. For common error codes for XAML for Windows Embedded, see XAML for Windows Embedded Error Messages.

.NET Framework Equivalent

System.Windows.PresentationFrameworkCollection(T).Count

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

IXRUIElementCollection
IXRPanel::GetChildren