SOLIDWORKS PDM Professional API Help Send Feedback
Rename Method (IEdmLabel6)
See Also 
EPDM.Interop.epdm Namespace > IEdmLabel6 Interface : Rename Method (IEdmLabel6)


bsName
New name of label
hParentWnd
Parent window handle; passed to add-ins that have registered the hooks, EdmCmdData.EdmCmd_PreLabelModify and EdmCmdData.EdmCmd_PostLabelModify
Renames this label.

Syntax

Visual Basic 
Sub Rename( _
   ByVal bsName As System.String, _
   ByVal hParentWnd As System.Integer _
) 
C# 
void Rename( 
   System.string bsName,
   System.int hParentWnd
)
C++/CLI 
void Rename( 
&   System.String^ bsName,
&   System.int hParentWnd
) 

Parameters

bsName
New name of label
hParentWnd
Parent window handle; passed to add-ins that have registered the hooks, EdmCmdData.EdmCmd_PreLabelModify and EdmCmdData.EdmCmd_PostLabelModify

Remarks

Return codes:

  • S_OK: The method successfully executed.
  • S_FALSE: One of the arguments is invalid.
 

See Also

Availability

SOLIDWORKS PDM Professional 2011