Click or drag to resize

ContentRelation Methods

The ContentRelation type exposes the following members.

Methods
  NameDescription
Public methodChildren
Returns all children objects.
(Inherited from ModelingObject.)
Public methodEnsureMirrored
Ensures this relation as an up-to-date mirrored relation of the specified one.
Public methodGetGuid
Gets the Guid.
(Inherited from ModelingObject.)
Public methodGetListItem
Gets a text representing this object using Id and Name.
(Inherited from ModelingObject.)
Public methodGetName
Gets the name.
(Inherited from ModelingObject.)
Public methodGetOtherContentType
Gets the content-type at the other end of the relation. Returns a local ContentType or a local ExternalContentType (always from the model of this relation).
Public methodGetOtherSide
Gets the other side of the relation.
Public methodGetParentParentType
Returns the first parent of a given type in the modeling tree. Returns null if not found.
(Inherited from ModelingObject.)
Public methodGetSide1ConstraintName
Gets the name of the first side constraint. WordForm data version control implementation.
Public methodGetSide1ContentTypeGuid
Gets the guid of the first content-type. WordForm data version control implementation.
Public methodGetSide2ConstraintName
Gets the name of the second side constraint. WordForm data version control implementation.
Public methodGetSide2ContentTypeGuid
Gets the guid of the second content-type. WordForm data version control implementation.
Public methodIsExternal
Determines whether one of the side is in another model.
Public methodIsMulti
Determines whether the specified content-type can hold multiple relations to the other side.
Public methodIsOtherSideMulti
Determines whether the opposite of the specified content-type can hold multiple relations to the other side.
Public methodIsOwnerOfOtherContentType
Determines whether the specified (local) content-type is owner of the other content-type.
Public methodIsPartOfOtherContentType
Determines whether the specified (local) content-type is part of the other content-type.
Public methodIsSecondary
Determines whether this relation links one or two local and secondary content-types.
Public methodLinkedToContentType
Determines if this relation is linked (on one side or another) to the specified content-type.
Public methodLinkedToContentTypes
Determines if this relation is linked (in a direction or the other) to the specified content-types.
Public methodLinkedToLinkedContentType
Determines if this relation is linked (on one side or another) to the specified content-type.
Public methodLinkedToLocalContentType
Determines if this relation is linked (on one side or another) to the specified content-type.
Public methodMultipleValuesFrom
Determines whether the specified content-type can hold multiple relations to the other side.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Extension Methods
  NameDescription
Public Extension MethodAsT
Casts an object to another type. Returns default(T) if the object is null.
(Defined by Utils_Other.)
Public Extension MethodEqualsAll
Checks that this object is equal to every object in parameters.
(Defined by Utils_Other.)
Public Extension MethodEqualsAny
Checks that this object is equal to at least one of the parameters.
(Defined by Utils_Other.)
Public Extension MethodGetString
Converts an object to String using ToString() method, else returns String.Empty.
(Defined by Utils_Other.)
Public Extension MethodIsGenericListOverloaded.
Checks if this object is a System.Collections.Generic.List.
(Defined by Utils_Linq.)
Public Extension MethodIsGenericList(Type)Overloaded.
Checks if this object is a System.Collections.Generic.List using type as T.
(Defined by Utils_Linq.)
Public Extension MethodSerializeOverloaded.
Serializes an object into an XML document.
(Defined by Utils_Xml.)
Public Extension MethodSerialize(String)Overloaded.
Serializes an object into an XML document.
(Defined by Utils_Xml.)
Public Extension MethodSerializeJsonOverloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.)
Public Extension MethodSerializeJson(ListType)Overloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.)
Public Extension MethodSerializeJson(DataContractJsonSerializerSettings)Overloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.)
Top
See Also