| Visual Basic | |
|---|---|
Function GetState( _ ByRef poIdOrName As System.Object _ ) As IEdmState6 | |
| C# | |
|---|---|
IEdmState6 GetState( ref System.object poIdOrName ) | |
| C++/CLI | |
|---|---|
IEdmState6^ GetState( & System.Object^% poIdOrName ) | |
Parameters
- poIdOrName
- ID or name of workflow state to get
Return Value
IEdmState6; Null if poIdOrName is invalidC++ users not using smart-pointer wrapper functions must release the returned interface, IEdmState6.
- S_OK: The method successfully executed.
- S_FALSE: poIdOrName contains an invalid name.
- E_EDM_INVALID_ID: poIdOrName contain an invalid ID.
SOLIDWORKS PDM Professional Version 6.0