|
ExtensionSetVariableToDb Method
|
Set the value of a vault variable.
Namespace:
CADSharpTools.PDM
Assembly:
CADSharpTools.PDM (in CADSharpTools.PDM.dll) Version: 1.4.16.0 (1.4.16)
Syntax public static MethodReturn SetVariableToDb(
this IEdmFile5 file,
string variable,
string configurationName = "@"
)
<ExtensionAttribute>
Public Shared Function SetVariableToDb (
file As IEdmFile5,
variable As String,
Optional configurationName As String = "@"
) As MethodReturn
Parameters
- file
- Type: IEdmFile5
File object. - variable
- Type: SystemString
Variable name. - configurationName (Optional)
- Type: SystemString
Configuration name.
Return Value
Type:
MethodReturnMethodReturn
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IEdmFile5. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also