Upraviť

Zdieľať cez


WebPartTransformerAttribute.GetProviderType(Type) Method

Definition

Returns the provider type a transformer can accept on a connection point.

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

Parameters

transformerType
Type

The type of transformer.

Returns

The Type of the provider 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 GetProviderType method to determine whether the provider type of the transformer matches the provider connection point of the Web Parts control.

Applies to