IUIAutomationSelectionPattern class com
Provides access to a control that contains selectable child items.
The children of this element support IUIAutomationSelectionItemPattern.
To learn more, see learn.microsoft.com/windows/win32/api/uiautomationclient/nn-uiautomationclient-iuiautomationselectionpattern.
- Inheritance
- Implemented types
- Implementers
Constructors
- IUIAutomationSelectionPattern(VTablePointer ptr)
- Creates a new instance of IUIAutomationSelectionPattern from a VTablePointer.
- IUIAutomationSelectionPattern.from(IUnknown interface)
-
Creates a new instance of IUIAutomationSelectionPattern from an existing
interface.factory
Properties
- cachedCanSelectMultiple → bool
-
Retrieves a cached value that indicates whether more than one item in the
container can be selected at one time.
no setter
- cachedIsSelectionRequired → bool
-
Retrieves a cached value that indicates whether at least one item must be
selected at all times.
no setter
- currentCanSelectMultiple → bool
-
Indicates whether more than one item in the container can be selected at
one time.
no setter
- currentIsSelectionRequired → bool
-
Indicates whether at least one item must be selected at all times.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- ptr → VTablePointer
-
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addRef(
) → int -
Increments the reference count of this COM object.
inherited
-
getCachedSelection(
) → IUIAutomationElementArray? - Retrieves the cached selected elements in the container.
-
getCurrentSelection(
) → IUIAutomationElementArray? - Retrieves the selected elements in the container.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
queryInterface<
T extends IUnknown> () → T -
Queries this COM object for a specific interface defined by the type
parameter
T.inherited -
release(
) → int -
Decrements the reference count of this COM object.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited