| Visual Basic | |
|---|---|
Sub GetVar( _ ByVal lVariableID As System.Integer, _ ByVal eColumn As EdmBomColumnType, _ ByRef poValue As System.Object, _ ByRef poComputedValue As System.Object, _ ByRef pbsConfiguration As System.String, _ ByRef pbReadOnly As System.Boolean _ ) | |
| C# | |
|---|---|
void GetVar( System.int lVariableID, EdmBomColumnType eColumn, out System.object poValue, out System.object poComputedValue, out System.string pbsConfiguration, out System.bool pbReadOnly ) | |
| C++/CLI | |
|---|---|
void GetVar( & System.int lVariableID, & EdmBomColumnType eColumn, & [Out] System.Object^ poValue, & [Out] System.Object^ poComputedValue, & [Out] System.String^ pbsConfiguration, & [Out] System.bool pbReadOnly ) | |
Parameters
- lVariableID
- ID of the variable to get (see Remarks)
- eColumn
- Type of column as defined in EdmBomColumnType (see Remarks)
- poValue
- Value in this BOM cell
- poComputedValue
- Computed value in this BOM cell
- pbsConfiguration
- Name of the configuration from which to get this BOM cell's value
- pbReadOnly
- True if this BOM cell cannot be updated, false if it can be updated by IEdmBomCell::SetVar
- Call IEdmBomView::GetColumns to get EdmBomColumn for this BOM cell.
- Set IVariableID with EdmBomColumn.mlVariableID.
- Set eColumn with EdmBomColumn.meType.
- S_OK: The method successfully executed.
- S_FALSE: One of the arguments is invalid.
SOLIDWORKS PDM Professional 2009