Share via


RenderModeAttribute Sınıf

Tanım

Bileşen türü için sabit işleme modunu belirtir.

Mümkün olduğunda bileşenler bu şekilde herhangi bir işleme modu belirtmemelidir ve tüm işleme modlarında çalışacak şekilde uygulanmalıdır. Bileşen yazarları yalnızca bileşen diğer modlarda çalıştırılamaz olduğunda sabit bir işleme modu belirtmelidir.

[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false, Inherited=true)]
public abstract class RenderModeAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false, Inherited=true)>]
type RenderModeAttribute = class
    inherit Attribute
Public MustInherit Class RenderModeAttribute
Inherits Attribute
Devralma
RenderModeAttribute
Öznitelikler

Oluşturucular

RenderModeAttribute()

Bileşen türü için sabit işleme modunu belirtir.

Mümkün olduğunda bileşenler bu şekilde herhangi bir işleme modu belirtmemelidir ve tüm işleme modlarında çalışacak şekilde uygulanmalıdır. Bileşen yazarları yalnızca bileşen diğer modlarda çalıştırılamaz olduğunda sabit bir işleme modu belirtmelidir.

Özellikler

Mode

Bir bileşen türü için sabit işleme modunu alır.

Şunlara uygulanır