ElementFactory Class

 

Represents a factory of domain model objects.

Namespace:   Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)

System::Object
  Microsoft.VisualStudio.Modeling::ElementFactory

public ref class ElementFactory 

NameDescription
System_CAPS_protpropertyStore

NameDescription
System_CAPS_pubmethodCreateElement(DomainClassInfo^)

Creates a new element instance of a specified type.

System_CAPS_pubmethodCreateElement(DomainClassInfo^, array<PropertyAssignment^>^)

Creates a new element instance of a specified type.

System_CAPS_pubmethodCreateElement(Guid)

Creates a new element instance of a specified type.

System_CAPS_pubmethodCreateElement(Guid, array<PropertyAssignment^>^)

Creates a new element instance of a specified type.

System_CAPS_pubmethodCreateElementLink(DomainRelationshipInfo^, Boolean, array<RoleAssignment^>^)

Creates a new element link.

System_CAPS_pubmethodCreateElementLink(DomainRelationshipInfo^, array<PropertyAssignment^>^, array<RoleAssignment^>^)

Creates a new element link.

System_CAPS_pubmethodCreateElementLink(DomainRelationshipInfo^, array<RoleAssignment^>^)

Creates a new element link.

System_CAPS_pubmethodCreateElementLink(Guid, Boolean, array<RoleAssignment^>^)

Creates a new element link.

System_CAPS_pubmethodCreateElementLink(Guid, array<PropertyAssignment^>^, array<RoleAssignment^>^)

Creates a new element link.

System_CAPS_pubmethodCreateElementLink(Guid, array<RoleAssignment^>^)

Creates a new element link.

System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_protmethodGetPartitionForClass(DomainClassInfo^)

Get the Partition to be used for creating elements of the specified class

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

NameDescription
System_CAPS_pubfieldSystem_CAPS_staticIdPropertyAssignment

Represents an array of elements that play roles in the domain relationship instance.

You can also use the methods in this class to create elements and element links.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: