WebPartTransformerAttribute::GetConsumerType Method (Type^)
.NET Framework (current version)
Returns the consumer type a transformer can accept on a connection point.
Assembly: System.Web (in System.Web.dll)
Parameters
- transformerType
-
Type:
System::Type^
The type of transformer.
| Exception | Condition |
|---|---|
| ArgumentNullException | transformerType is not specified. |
| InvalidOperationException | transformerType is not an object derived from the WebPartTransformer class. |
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.
.NET Framework
Available since 2.0
Available since 2.0
Show: