DesignerAutoFormatCollection.Item[Int32] 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置 DesignerAutoFormat 集合中指定索引处的对象。
public:
property System::Web::UI::Design::DesignerAutoFormat ^ default[int] { System::Web::UI::Design::DesignerAutoFormat ^ get(int index); };
public System.Web.UI.Design.DesignerAutoFormat this[int index] { get; }
member this.Item(int) : System.Web.UI.Design.DesignerAutoFormat
Default Public ReadOnly Property Item(index As Integer) As DesignerAutoFormat
参数
- index
- Int32
要获取或设置集合中的从零开始的 DesignerAutoFormat 索引。
属性值
DesignerAutoFormat集合中指定索引处。
例外
注解
Item[]使用索引器检索DesignerAutoFormat集合中指定索引处的对象,或设置集合中指定索引处的格式。 可以使用数组表示法为集合中的元素编制索引。 例如,可以使用 Microsoft VisualBas
如果具有对 DesignerAutoFormat 对象的引用,并且需要集合中对象的索引,请使用该方法 IndexOf 。