ListBoxAutomationPeer.GetPattern Method

Gets the control pattern for the ListBox that is associated with this ListBoxAutomationPeer.

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

Syntax

'Declaration
Public Overrides Function GetPattern ( _
    patternInterface As PatternInterface _
) As Object
'Usage
Dim instance As ListBoxAutomationPeer
Dim patternInterface As PatternInterface
Dim returnValue As Object

returnValue = instance.GetPattern(patternInterface)
public override Object GetPattern(
    PatternInterface patternInterface
)
public:
virtual Object^ GetPattern(
    PatternInterface patternInterface
) override
public override function GetPattern(
    patternInterface : PatternInterface
) : Object

Parameters

Return Value

Type: System.Object

See Also

Reference

ListBoxAutomationPeer Class

ListBoxAutomationPeer Members

System.Windows.Automation.Peers Namespace