Visual Basic (Declaration) | |
---|---|
Public Overrides Function GetPattern( _ ByVal patternInterface As PatternInterface _ ) As Object |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As ColorPickerAutomationPeer Dim patternInterface As PatternInterface Dim value As Object value = instance.GetPattern(patternInterface) |
C# | |
---|---|
public override object GetPattern( PatternInterface patternInterface ) |
C++/CLI | |
---|---|
public: Object^ GetPattern( PatternInterface patternInterface ) override |
Parameters
- patternInterface
- A value from the System.Windows.Automation.Peers.PatternInterface enumeration.
Return Value
The object that implements the pattern interface; null if this peer does not support this interface.Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2