- id
- The id of the AnnAutomationObject.
| Visual Basic (Declaration) | |
|---|---|
Public Shared Function CreateDefaultObjectContextMenu( _ ByVal id As Integer _ ) As ContextMenu | |
| Visual Basic (Usage) | Copy Code |
|---|---|
Dim id As Integer Dim value As ContextMenu value = AnnAutomationManager.CreateDefaultObjectContextMenu(id) | |
| C# | |
|---|---|
public static ContextMenu CreateDefaultObjectContextMenu( int id ) | |
| C++/CLI | |
|---|---|
public: static ContextMenu^ CreateDefaultObjectContextMenu( int id ) | |
Parameters
- id
- The id of the AnnAutomationObject.
Return Value
The default System.Windows.Forms.ContextMenu used in AnnAutomationObject.ContextMenu.For an example, refer to AnnAutomationManager.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7
Copy Code