WebPartTransformerAttribute.GetConsumerType(Type) Método
Definição
Retorna o tipo de consumidor que um transformador pode aceitar em um ponto de conexão.Returns the consumer type a transformer can accept on a connection point.
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
O tipo de transformador.The type of transformer.
Retornos
O Type do ponto de conexão do consumidor.The Type of the consumer connection point.
Exceções
transformerType não está especificado.transformerType is not specified.
transformerType não é um objeto derivado da classe WebPartTransformer.transformerType is not an object derived from the WebPartTransformer class.
Comentários
O WebPartManager objeto e o WebPartConnection objeto usam o GetConsumerType método para determinar se o tipo de consumidor do transformador corresponde ao ponto de conexão do consumidor do controle de Web Parts.The WebPartManager object and WebPartConnection object use the GetConsumerType method to determine whether the consumer type of the transformer matches the consumer connection point of the Web Parts control.