Compartir vía


WebPartTransformerAttribute.GetConsumerType(Type) Método

Definición

Devuelve el tipo de consumidor que un transformador puede aceptar en un punto de conexión.

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

Parámetros

transformerType
Type

El tipo de transformador.

Devoluciones

Type

Type del punto de conexión del consumidor.

Excepciones

transformerType no se especifica.

transformerType no es un objeto derivado de la clase WebPartTransformer.

Comentarios

El WebPartManager objeto y WebPartConnection el objeto usan el GetConsumerType método para determinar si el tipo de consumidor del transformador coincide con el punto de conexión del consumidor del control elementos web.

Se aplica a