Method UpdateProperty
UpdateProperty(ConnectivityConnectionProperty)
Updates the specified connection property.
public bool UpdateProperty(ConnectivityConnectionProperty prop)
Parameters
propConnectivityConnectionPropertyThe property to update.
Returns
- bool
trueif the update succeeded; otherwise,false.
UpdateProperty(ConnectivityConnectionProperty, bool)
Updates the specified connection property.
public bool UpdateProperty(ConnectivityConnectionProperty prop, bool both)
Parameters
propConnectivityConnectionPropertyThe property to update.
bothbooltrueif the connection property should be updated on both the source and destination element; otherwise,false.
Returns
- bool
trueif the update succeeded; otherwise,false.
UpdateProperty(int, string, string, string, int)
Updates the property with the specified ID.
public bool UpdateProperty(int id, string name, string type, string value, int link)
Parameters
idintThe ID of the property.
namestringThe new name of the property.
typestringThe new type of the property.
valuestringThe new value of the property.
linkintThe new ID of the connection to which this property belongs.
Returns
- bool
trueif the update succeeded; otherwise,false.
UpdateProperty(int, string, string, string, int, bool)
Updates the property with the specified ID.
public bool UpdateProperty(int id, string name, string type, string value, int link, bool both)
Parameters
idintThe ID of the property.
namestringThe new name of the property.
typestringThe new type of the property.
valuestringThe new value of the property.
linkintThe new ID of the connection to which this property belongs.
bothbooltrueif the connection property should be updated on both the source and destination element; otherwise,false.
Returns
- bool
trueif the update succeeded; otherwise,false.