Gets the name of the parent menu of the specified menu command.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function GetMenuStrings( _
ByVal CommandID As System.Integer, _
ByVal DocumentType As System.Integer, _
ByRef As System.String _
) As System.String |
Visual Basic (Usage) | |
---|
Dim instance As ISldWorks
Dim CommandID As System.Integer
Dim DocumentType As System.Integer
Dim ParentMenuName As System.String
Dim value As System.String
value = instance.GetMenuStrings(CommandID, DocumentType, ParentMenuName) |
C++/CLI | |
---|
System.String^ GetMenuStrings(
& System.int CommandID,
& System.int DocumentType,
& [Out] System.String^
) |
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