Sets the specified part property.
Namespace: Autodesk.Civil.DatabaseServices.Styles
Assembly: AeccPressurePipesMgd (in AeccPressurePipesMgd.dll) Version: 13.8.0.280
Syntax
C#
public void SetProperty( PressurePartContextType prop, Object newVal )
VB
Public Sub SetProperty ( prop As PressurePartContextType, newVal As Object )
C++
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.
Exceptions
Exception | Condition |
---|---|
[!:System.ArgumentException] | Thrown when the new value cannot be casted into the value type required by the context. |