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
- elementClass
Tipo: Microsoft.Data.Schema.SchemaModel.ModelElementClass
- relationshipName
Tipo: System.String
- relationshipType
Tipo: Microsoft.Data.Schema.SchemaModel.ModelRelationshipType
- relationshipCardinality
Tipo: Microsoft.Data.Schema.SchemaModel.ModelRelationshipCardinalityStyle
- isOrderedComparison
Tipo: System.Boolean
Valor devuelto
Tipo: Microsoft.Data.Schema.SchemaModel.ModelRelationshipClass
Seguridad de .NET Framework
- Plena confianza para el llamador inmediato. Un código de confianza parcial no puede utilizar este miembro. Para obtener más información, vea Utilizar bibliotecas de código que no es de plena confianza.