TransformerInfo.Type Property

 

Gets or sets the type reference for a class that extends the WebPartTransformer class.

Namespace:   System.Web.Configuration
Assembly:  System.Web (in System.Web.dll)

<ConfigurationPropertyAttribute("type", IsRequired := True, DefaultValue := "")>
<StringValidatorAttribute(MinLength := 1)>
Public Property Type As String

Property Value

Type: System.String

A type reference for a class that extends the WebPartTransformer class.

The configuration system does not validate the specified type to ensure that a valid type name is used. However, invalid types will cause exceptions when Web pages are loaded.

The following code example shows how to use the Type property. This code example is part of a larger example provided for the WebPartsSection type.

.NET Framework
Available since 2.0
Return to top
Show: