The ICartellaPositionedRelations<(Of <(<'TOwner, TTarget>)>)> type exposes the following members.

Methods

  NameDescription
Public methodAdd(T)
Adds an item to the ICollection<(Of <(<'T>)>)>.
(Inherited from ICollection<(Of <(<'KeyValuePair<(Of <(<'String, TTarget>)>)>>)>)>.)
Public methodAdd(TKey, TValue)
Adds an element with the provided key and value to the IDictionary<(Of <(<'TKey, TValue>)>)>.
(Inherited from IDictionary<(Of <(<'String, TTarget>)>)>.)
Public methodAddRelation(TTarget)
Add a relation entry to the collection. If the collection is not editable, exception will be thrown. If the target unique ID already exists in the keys collection, exception will be thrown. It will also fire the "TargetAdded" event if successful
(Inherited from IBaseRelations<(Of <(<'TOwner, TTarget>)>)>.)
Public methodAddRelation(TTarget, TTarget, Boolean)
Add target to relation. Using another target as reference point
Public methodClear
Removes all items from the ICollection<(Of <(<'T>)>)>.
(Inherited from ICollection<(Of <(<'KeyValuePair<(Of <(<'String, TTarget>)>)>>)>)>.)
Public methodClearRelations
Clear all target item mappings in the relations
(Inherited from ICartellaRelations<(Of <(<'TOwner, TTarget>)>)>.)
Public methodContains
Determines whether the ICollection<(Of <(<'T>)>)> contains a specific value.
(Inherited from ICollection<(Of <(<'KeyValuePair<(Of <(<'String, TTarget>)>)>>)>)>.)
Public methodContainsKey
Determines whether the IDictionary<(Of <(<'TKey, TValue>)>)> contains an element with the specified key.
(Inherited from IDictionary<(Of <(<'String, TTarget>)>)>.)
Public methodConvert<(Of <<'(TNewOwner, TNewTarget>)>>)()()()()
Casting operation, convert both owner and target objects to a differnt types. If casting of the owner or targets to new types are not successful, exception will be thrown
(Inherited from IBaseRelations<(Of <(<'TOwner, TTarget>)>)>.)
Public methodConvert<(Of <<'(TNewOwner, TNewTarget>)>>)()()()()
Casting operation, convert both owner and target objects to a differnt types. If casting of the owner or targets to new types are not successful, exception will be thrown
Public methodConvertOwner<(Of <<'(TNewOwner>)>>)()()()()
Casting operation, convert the owner object to a differnt type. If casting of the owner to new type is not successful, exception will be thrown
(Inherited from IBaseRelations<(Of <(<'TOwner, TTarget>)>)>.)
Public methodConvertOwner<(Of <<'(TNewOwner>)>>)()()()()
Casting operation, convert the owner object to a differnt type. If casting of the owner to new type is not successful, exception will be thrown
Public methodConvertTarget<(Of <<'(TNewTarget>)>>)()()()()
Casting operation, convert the target objects to a differnt type. If casting of the targets to new type are not successful, exception will be thrown
(Inherited from IBaseRelations<(Of <(<'TOwner, TTarget>)>)>.)
Public methodConvertTarget<(Of <<'(TNewTarget>)>>)()()()()
Casting operation, convert the target objects to a differnt type. If casting of the targets to new type are not successful, exception will be thrown
Public methodCopyTo
Copies the elements of the ICollection<(Of <(<'T>)>)> to an Array, starting at a particular Array index.
(Inherited from ICollection<(Of <(<'KeyValuePair<(Of <(<'String, TTarget>)>)>>)>)>.)
Public methodGetEnumerator()()()()
Returns an enumerator that iterates through the collection.
(Inherited from IEnumerable<(Of <(<'KeyValuePair<(Of <(<'String, TTarget>)>)>>)>)>.)
Public methodGetEnumerator()()()()
Returns an enumerator that iterates through a collection.
(Inherited from IEnumerable.)
Public methodIndexOf
Public methodMoveRelation
Move target to a different position
Public methodRemove(TKey)
Removes the element with the specified key from the IDictionary<(Of <(<'TKey, TValue>)>)>.
(Inherited from IDictionary<(Of <(<'String, TTarget>)>)>.)
Public methodRemove(T)
Removes the first occurrence of a specific object from the ICollection<(Of <(<'T>)>)>.
(Inherited from ICollection<(Of <(<'KeyValuePair<(Of <(<'String, TTarget>)>)>>)>)>.)
Public methodRemoveRelation(TTarget)
Remove a target off the relation. If collection is not editable, exception will be thrown. Target doesn't exist will not cause any exceptions. It will fire the "TargetRemoved" event is removal is successful.
(Inherited from IBaseRelations<(Of <(<'TOwner, TTarget>)>)>.)
Public methodRemoveRelation(Int32)
Remove target from relations by positioning index of the target
Public methodSetupDelegates(InsertRelationsProcedure, RemoveRelationsProcedure)
Setup the data procedure delegates for insert and removal of targets
(Inherited from IBaseRelations<(Of <(<'TOwner, TTarget>)>)>.)
Public methodSetupDelegates(InsertRelationsProcedure, RemoveRelationsProcedure, UpdateRelationPositionsProcedure)
Setup data procedures delegates for the relations object
Public methodTryGetValue
Gets the value associated with the specified key.
(Inherited from IDictionary<(Of <(<'String, TTarget>)>)>.)

See Also