PressurePartSizeSetProperty Method |
Sets the specified part property.
Namespace: Autodesk.Civil.DatabaseServices.StylesAssembly: AeccPressurePipesMgd (in AeccPressurePipesMgd.dll) Version: 13.8.0.292
Syntaxpublic void SetProperty(
PressurePartContextType prop,
Object newVal
)
Public Sub SetProperty (
prop As PressurePartContextType,
newVal As Object
)
public:
void SetProperty(
PressurePartContextType prop,
Object^ newVal
)
Parameters
- prop PressurePartContextType
- The context that is used to specify the property.
- newVal Object
- The new value to be set.
ExceptionsException | Condition |
---|
[!:System.ArgumentException] |
Thrown when the new value cannot be casted into the value type required by the context.
|
Remarks
The new value can be: int, double, string and bool. The value type MUST keep consistent with context.
See Also