Repeater.ItemType 属性

定义

用于强类型绑定的模型类的名称。The name of the model type for strongly typed data binding.

public:
 virtual property System::String ^ ItemType { System::String ^ get(); void set(System::String ^ value); };
[System.Web.UI.Themeable(false)]
public virtual string ItemType { get; set; }
member this.ItemType : string with get, set
Public Overridable Property ItemType As String

属性值

模型类型的名称。The name of the model type.

属性

注解

如果设置此属性并使用 SelectMethod 属性,则 Select 方法返回的类型必须是此属性指定的类型,或者必须能够转换为此属性指定的类型。If you set this property and use the SelectMethod property, the type that is returned by the Select method must be of the type specified by this property or must be capable of being cast to the type specified by this property.

设置此属性将自动启用动态数据功能。Setting this property automatically enables Dynamic Data functionality.

适用于