ControlBuilderAttribute(Type) Konstruktor
Definition
Viktigt
En del information gäller för förhandsversionen av en produkt och kan komma att ändras avsevärt innan produkten blir allmänt tillgänglig. Microsoft lämnar inga garantier, uttryckliga eller underförstådda, avseende informationen som visas här.
Anger kontrollverktyget för en anpassad kontroll.
public:
ControlBuilderAttribute(Type ^ builderType);
public ControlBuilderAttribute(Type builderType);
new System.Web.UI.ControlBuilderAttribute : Type -> System.Web.UI.ControlBuilderAttribute
Public Sub New (builderType As Type)
Parametrar
- builderType
- Type
Kontrollverktygets typ.
Kommentarer
Associationen av kontrollverktygets typ med en anpassad kontroll hämtas genom att föregå den anpassade control builder-klassen med följande attributdefinition:
[ControlBuilderAttribute(typeof(controlbuildertype))]