SearchControlAutomationPeer.GetPattern Method
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.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)
Syntax
'Declaration
Public Overrides Function GetPattern ( _
patternInterface As PatternInterface _
) As Object
public override Object GetPattern(
PatternInterface patternInterface
)
public:
virtual Object^ GetPattern(
PatternInterface patternInterface
) override
abstract GetPattern :
patternInterface:PatternInterface -> Object
override GetPattern :
patternInterface:PatternInterface -> Object
public override function GetPattern(
patternInterface : PatternInterface
) : Object
Parameters
patternInterface
Type: PatternInterfaceThe interface to get the pattern for.
Return Value
Type: Object
Returns the object that implements the pattern interface; a null reference if this peer does not support the interface.Object.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.