Aracılığıyla paylaş


ModelElement.RegisterRelationshipClass<TReferencedInterface> Yöntem (ModelElementClass, String, ModelRelationshipType, ModelRelationshipCardinalityStyle, Boolean, Boolean)

Ad alanı:  Microsoft.Data.Schema.SchemaModel
Derleme:  Microsoft.Data.Schema (Microsoft.Data.Schema.dll içinde)

Sözdizimi

'Bildirim
Protected Shared Function RegisterRelationshipClass(Of TReferencedInterface) ( _
    elementClass As ModelElementClass, _
    relationshipName As String, _
    relationshipType As ModelRelationshipType, _
    relationshipCardinality As ModelRelationshipCardinalityStyle, _
    isOrderedComparison As Boolean, _
    isParentDecorator As Boolean _
) As ModelRelationshipClass
protected static ModelRelationshipClass RegisterRelationshipClass<TReferencedInterface>(
    ModelElementClass elementClass,
    string relationshipName,
    ModelRelationshipType relationshipType,
    ModelRelationshipCardinalityStyle relationshipCardinality,
    bool isOrderedComparison,
    bool isParentDecorator
)
protected:
generic<typename TReferencedInterface>
static ModelRelationshipClass^ RegisterRelationshipClass(
    ModelElementClass^ elementClass, 
    String^ relationshipName, 
    ModelRelationshipType relationshipType, 
    ModelRelationshipCardinalityStyle relationshipCardinality, 
    bool isOrderedComparison, 
    bool isParentDecorator
)
static member RegisterRelationshipClass : 
        elementClass:ModelElementClass * 
        relationshipName:string * 
        relationshipType:ModelRelationshipType * 
        relationshipCardinality:ModelRelationshipCardinalityStyle * 
        isOrderedComparison:bool * 
        isParentDecorator:bool -> ModelRelationshipClass 
JScript genel türleri veya yöntemleri desteklemez.

Tür Parametreleri

  • TReferencedInterface

Parametreler

Dönüş Değeri

Tür: Microsoft.Data.Schema.SchemaModel.ModelRelationshipClass

.NET Framework Güvenliği

Ayrıca bkz.

Başvuru

ModelElement Sınıf

RegisterRelationshipClass Fazla Yük

Microsoft.Data.Schema.SchemaModel Ad Alanı