Compartir a través de


ModelElement.RegisterRelationshipClass<TReferencedInterface> (Método) (ModelElementClass, String, ModelRelationshipType, ModelRelationshipCardinalityStyle, Boolean)

Espacio de nombres:  Microsoft.Data.Schema.SchemaModel
Ensamblado:  Microsoft.Data.Schema (en Microsoft.Data.Schema.dll)

Sintaxis

'Declaración
Protected Shared Function RegisterRelationshipClass(Of TReferencedInterface) ( _
    elementClass As ModelElementClass, _
    relationshipName As String, _
    relationshipType As ModelRelationshipType, _
    relationshipCardinality As ModelRelationshipCardinalityStyle, _
    isOrderedComparison As Boolean _
) As ModelRelationshipClass
protected static ModelRelationshipClass RegisterRelationshipClass<TReferencedInterface>(
    ModelElementClass elementClass,
    string relationshipName,
    ModelRelationshipType relationshipType,
    ModelRelationshipCardinalityStyle relationshipCardinality,
    bool isOrderedComparison
)
protected:
generic<typename TReferencedInterface>
static ModelRelationshipClass^ RegisterRelationshipClass(
    ModelElementClass^ elementClass, 
    String^ relationshipName, 
    ModelRelationshipType relationshipType, 
    ModelRelationshipCardinalityStyle relationshipCardinality, 
    bool isOrderedComparison
)
static member RegisterRelationshipClass : 
        elementClass:ModelElementClass * 
        relationshipName:string * 
        relationshipType:ModelRelationshipType * 
        relationshipCardinality:ModelRelationshipCardinalityStyle * 
        isOrderedComparison:bool -> ModelRelationshipClass 
JScript no admite el uso de métodos ni tipos genéricos.

Parámetros de tipo

  • TReferencedInterface

Parámetros

Valor devuelto

Tipo: Microsoft.Data.Schema.SchemaModel.ModelRelationshipClass

Seguridad de .NET Framework

Vea también

Referencia

ModelElement Clase

RegisterRelationshipClass (Sobrecarga)

Microsoft.Data.Schema.SchemaModel (Espacio de nombres)