Export (0) Print
Expand All

WinMenuItem.PropertyNames Class

Contains a field for each property of the WinMenuItem user interface (UI) testing control where each field is named for, and returns, the name of the corresponding property.

Namespace:  Microsoft.VisualStudio.TestTools.UITesting.WinControls
Assembly:  Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)

[CLSCompliantAttribute(true)]
public abstract class PropertyNames : WinControl.PropertyNames

The WinMenuItem.PropertyNames type exposes the following members.

  NameDescription
Protected methodWinMenuItem.PropertyNamesInitializes a new instance of the WinMenuItem.PropertyNames class.
Top

  NameDescription
Public methodEquals(Object)Determines whether the provided object is equal to the current instance. (Inherited from UITestControl.PropertyNames.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as the default hash function. (Inherited from UITestControl.PropertyNames.)
Public methodGetTypeReturns the Type of the control. (Inherited from UITestControl.PropertyNames.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringReturns a string representation of this instance. (Inherited from UITestControl.PropertyNames.)
Top

  NameDescription
Public fieldStatic memberAcceleratorKeyReturns "AcceleratorKey".
Public fieldStatic memberCheckedReturns "Checked".
Public fieldStatic memberDisplayTextReturns "DisplayText".
Public fieldStatic memberHasChildNodesReturns "HasChildNodes".
Public fieldStatic memberIsTopLevelMenuReturns "IsTopLevelMenu".
Public fieldStatic memberItemsReturns "Items".
Public fieldStatic memberShortcutReturns "Shortcut".
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2014 Microsoft