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