Gets the name of the parent menu of the specified menu command.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function GetMenuStrings( _
ByVal CommandID As Integer, _
ByVal DocumentType As Integer, _
ByRef As String _
) As String |
Visual Basic (Usage) | |
---|
Dim instance As ISldWorks
Dim CommandID As Integer
Dim DocumentType As Integer
Dim ParentMenuName As String
Dim value As String
value = instance.GetMenuStrings(CommandID, DocumentType, ParentMenuName)
|
Parameters
- CommandID
- Command ID of the command whose parent menu's name you want
- DocumentType
- Document types in which this command exists as defined inswDocumentTypes_e
- ParentMenuName
- Name of the parent menu of the specified menu command
Return Value
True if the name of the parent menu is returned, false if not
Remarks
See Also
Availability
SolidWorks 2007 SP2, Revision Number 15.2