| Visual Basic (Declaration) | |
|---|---|
Public Shadows Default Property Item( _ ByVal type As ContextMenuType _ ) As ContextMenu | |
| Visual Basic (Usage) | Copy Code |
|---|---|
Dim instance As ContextMenuCollection Dim type As ContextMenuType Dim value As ContextMenu instance.Item(type) = value value = instance.Item(type) | |
| C# | |
|---|---|
public new ContextMenu this[ ContextMenuType type ]; {get; set;} | |
Parameters
- type
Target Platforms: Windows 7, Windows 8, Windows Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6