IndexPath.CreateFrom 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
CreateFrom(Int32) | |
CreateFrom(Int32, Int32) |
CreateFrom(Int32)
public:
static IndexPath ^ CreateFrom(int index);
/// [Windows.Foundation.Metadata.DefaultOverload]
/// [Windows.Foundation.Metadata.Experimental]
/// [Windows.Foundation.Metadata.Overload("CreateFrom")]
static IndexPath CreateFrom(int const& index);
[Windows.Foundation.Metadata.DefaultOverload]
[Windows.Foundation.Metadata.Experimental]
[Windows.Foundation.Metadata.Overload("CreateFrom")]
public static IndexPath CreateFrom(int index);
Public Shared Function CreateFrom (index As Integer) As IndexPath
參數
- index
-
Int32
int
傳回
- 屬性
適用於
CreateFrom(Int32, Int32)
public:
static IndexPath ^ CreateFrom(int groupIndex, int itemIndex);
/// [Windows.Foundation.Metadata.Experimental]
/// [Windows.Foundation.Metadata.Overload("CreateFromGroupAndItemIndex")]
static IndexPath CreateFrom(int const& groupIndex, int const& itemIndex);
[Windows.Foundation.Metadata.Experimental]
[Windows.Foundation.Metadata.Overload("CreateFromGroupAndItemIndex")]
public static IndexPath CreateFrom(int groupIndex, int itemIndex);
Public Shared Function CreateFrom (groupIndex As Integer, itemIndex As Integer) As IndexPath
參數
- groupIndex
-
Int32
int
- itemIndex
-
Int32
int
傳回
- 屬性