| Visual Basic | |
|---|---|
Sub ChangeState( _ ByVal poStateIdOrName As System.Object, _ ByVal bsComment As System.String, _ ByVal lParentWnd As System.Integer, _ Optional ByVal lEdmStateFlags As System.Integer _ ) | |
| C# | |
|---|---|
void ChangeState( System.object poStateIdOrName, System.string bsComment, System.int lParentWnd, System.int lEdmStateFlags ) | |
| C++/CLI | |
|---|---|
void ChangeState( & System.Object^ poStateIdOrName, & System.String^ bsComment, & System.int lParentWnd, & System.int lEdmStateFlags ) | |
Parameters
- poStateIdOrName
- Name or ID of new workflow state
- bsComment
- Comment to append to the history of this BOM
- lParentWnd
- Parent window handle; passed to registered add-ins
- lEdmStateFlags
- Combination of EdmStateFlags bits
- S_OK: The method successfully executed.
- S_FALSE: One of the arguments is invalid.
SOLIDWORKS PDM Professional 2009