Gets the GroupID for the specified group name.
Visual Basic |
---|
Public Function GrpGroupIDFromName( _ ByVal layerHandle As Long, _ ByVal name As String _ ) As Long |
- layerHandle
- The handle of a layer returned by the CreateLayer method.
- name
- The user assigned name of the group.
The GroupID with the given name.
When a Group with the specified name cannot be found, this method returns 0.
Group names are user assigned names, and are not checked for duplication.