共用方式為


IndexPath.CreateFrom 方法

定義

多載

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

傳回

屬性

適用於