ModelElement.RegisterRelationshipClass<TReferencedInterface> Yöntem (ModelElementClass, String, ModelRelationshipType, ModelRelationshipCardinalityStyle, 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 _
) 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 genel türleri veya yöntemleri desteklemez.
Tür Parametreleri
- TReferencedInterface
Parametreler
- elementClass
Tür: Microsoft.Data.Schema.SchemaModel.ModelElementClass
- relationshipName
Tür: System.String
- relationshipType
Tür: Microsoft.Data.Schema.SchemaModel.ModelRelationshipType
- relationshipCardinality
Tür: Microsoft.Data.Schema.SchemaModel.ModelRelationshipCardinalityStyle
- isOrderedComparison
Tür: System.Boolean
Dönüş Değeri
Tür: Microsoft.Data.Schema.SchemaModel.ModelRelationshipClass
.NET Framework Güvenliği
- Anında arayanlar için tam güven. Bu üye kısmen güvenilen kodla kullanılamaz. Daha fazla bilgi için bkz. kısmen güvenilir kod tarafından Kitaplıklar kullanma.