CalendarAutomationPeer.IItemContainerProvider.FindItemByProperty Method (IRawElementProviderSimple, Int32, Object)

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Retrieves an element by the specified property value.

Namespace:   System.Windows.Automation.Peers
Assembly:  PresentationFramework (in PresentationFramework.dll)

IRawElementProviderSimple IItemContainerProvider.FindItemByProperty(
	IRawElementProviderSimple startAfterProvider,
	int propertyId,
	object value
)

Parameters

startAfterProvider
Type: System.Windows.Automation.Provider.IRawElementProviderSimple

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

propertyId
Type: System.Int32

The property that contains the value to retrieve.

value
Type: System.Object

The value to retrieve.

Return Value

Type: System.Windows.Automation.Provider.IRawElementProviderSimple

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

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

.NET Framework
Available since 4.0
Return to top
Show: