次の方法で共有


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.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)

Syntax

'宣言
Public Overrides Function GetPattern ( _
    patternInterface As PatternInterface _
) As Object
public override Object GetPattern(
    PatternInterface patternInterface
)

Parameters

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.

.NET Framework Security

See Also

Reference

SearchControlAutomationPeer Class

Microsoft.VisualStudio.PlatformUI Namespace