ModelElement.RegisterRelationshipClass<TReferencedInterface>-Methode (ModelElementClass, String, ModelRelationshipType, ModelRelationshipCardinalityStyle, Boolean, Boolean)
Namespace: Microsoft.Data.Schema.SchemaModel
Assembly: Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)
Syntax
'Declaration
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 unterstützt keine generischen Typen oder Methoden.
Typparameter
- TReferencedInterface
Parameter
- elementClass
Typ: Microsoft.Data.Schema.SchemaModel.ModelElementClass
- relationshipName
Typ: System.String
- relationshipType
Typ: Microsoft.Data.Schema.SchemaModel.ModelRelationshipType
- relationshipCardinality
Typ: Microsoft.Data.Schema.SchemaModel.ModelRelationshipCardinalityStyle
- isOrderedComparison
Typ: System.Boolean
- isParentDecorator
Typ: System.Boolean
Rückgabewert
Typ: Microsoft.Data.Schema.SchemaModel.ModelRelationshipClass
.NET Framework-Sicherheit
- Volle Vertrauenswürdigkeit für den unmittelbaren Aufrufer. Dieser Member kann von nur teilweise vertrauenswürdigem Code nicht verwendet werden. Weitere Informationen finden Sie unter Verwenden von Bibliotheken aus teilweise vertrauenswürdigem Code.