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


bsComment
New comment for this label
hParentWnd
Parent window handle; passed to add-ins that have registered the hooks, EdmCmdData.EdmCmd_PreLabelModify and EdmCmdData.EdmCmd_PostLabelModify
Updates the comment of this label.

Syntax

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

Parameters

bsComment
New comment for this 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