CalendarAutomationPeer.IItemContainerProvider.FindItemByProperty Method

Definition

Retrieves an element by the specified property value.

C#
System.Windows.Automation.Provider.IRawElementProviderSimple IItemContainerProvider.FindItemByProperty(System.Windows.Automation.Provider.IRawElementProviderSimple startAfterProvider, int propertyId, object value);

Parameters

startAfterProvider
IRawElementProviderSimple

The item in the container after which to begin the search.

propertyId
Int32

The property that contains the value to retrieve.

value
Object

The value to retrieve.

Returns

The first item that matches the search criterion; otherwise, null if no items match.

Implements

Remarks

This member is an explicit interface member implementation. It can be used only when the CalendarAutomationPeer instance is cast to an IItemContainerProvider interface.

Applies to

Product Versions
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10