Compartir a través de


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: PatternInterface

    The 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

See Also

Reference

SearchControlAutomationPeer Class

Microsoft.VisualStudio.PlatformUI Namespace