SearchControlAutomationPeer::GetPattern Method (PatternInterface)

 

When overridden in a derived class, gets the control pattern that is associated with the specified PatternInterface.

Namespace:   Microsoft.VisualStudio.PlatformUI
Assembly:  Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)

public:
virtual Object^ GetPattern(
	PatternInterface patternInterface
) override

Parameters

patternInterface
Type: System.Windows.Automation.Peers::PatternInterface

The interface to get the pattern for.

Return Value

Type: System::Object^

Returns the object that implements the pattern interface; a null reference if this peer does not support the interface.Object.

Return to top
Show: