WebPartTransformerAttribute.GetConsumerType(Type) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Parameters
- transformerType
- Type
The type of transformer.
Returns
The Type of the consumer connection point.
Exceptions
transformerType
is not specified.
transformerType
is not an object derived from the WebPartTransformer class.
Remarks
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.
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈