WebPartTransformerAttribute.GetProviderType(Type) Metodo

Definizione

Restituisce il tipo di provider che può essere accettato da un trasformatore in un punto di connessione.

public:
 static Type ^ GetProviderType(Type ^ transformerType);
public static Type GetProviderType (Type transformerType);
static member GetProviderType : Type -> Type
Public Shared Function GetProviderType (transformerType As Type) As Type

Parametri

transformerType
Type

Tipo di trasformatore.

Restituisce

Oggetto Type del punto di connessione provider.

Eccezioni

transformerType non specificato.

transformerType non è un oggetto derivato dalla classe WebPartTransformer.

Commenti

L'oggetto WebPartManager e WebPartConnection l'oggetto usano il GetProviderType metodo per determinare se il tipo di provider del trasformatore corrisponde al punto di connessione del provider del controllo Web part.

Si applica a