Método ModelElement.RegisterElementClass<TElement>

Namespace:  Microsoft.Data.Schema.SchemaModel
Assembly:  Microsoft.Data.Schema (em Microsoft.Data.Schema.dll)

Sintaxe

'Declaração
Protected Shared Function RegisterElementClass(Of TElement As ModelElement) ( _
    factoryMethod As InstantiateElementCallback(Of TElement), _
    identifierGroup As ModelIdentifierGroup _
) As ModelElementClass
protected static ModelElementClass RegisterElementClass<TElement>(
    InstantiateElementCallback<TElement> factoryMethod,
    ModelIdentifierGroup identifierGroup
)
where TElement : ModelElement
protected:
generic<typename TElement>
where TElement : ModelElement
static ModelElementClass^ RegisterElementClass(
    InstantiateElementCallback<TElement>^ factoryMethod, 
    ModelIdentifierGroup^ identifierGroup
)
static member RegisterElementClass : 
        factoryMethod:InstantiateElementCallback<'TElement> * 
        identifierGroup:ModelIdentifierGroup -> ModelElementClass  when 'TElement : ModelElement
O JScript não oferece suporte a tipos ou métodos genéricos.

Parâmetros de tipo

  • TElement

Parâmetros

Valor de retorno

Tipo: Microsoft.Data.Schema.SchemaModel.ModelElementClass

Segurança do .NET Framework

Consulte também

Referência

ModelElement Classe

Namespace Microsoft.Data.Schema.SchemaModel