共用方式為


GeneratorPositionHelper 類別

定義

提供評估及建立 GeneratorPosition 結構值的公用程式方法。 C# 和 Microsoft Visual Basic 程式代碼應該改用 GeneratorPosition 的成員。

public ref class GeneratorPositionHelper sealed
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.UI.Xaml.WinUIContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class GeneratorPositionHelper final
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.WinUIContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class GeneratorPositionHelper
Public NotInheritable Class GeneratorPositionHelper
繼承
Object Platform::Object IInspectable GeneratorPositionHelper
屬性

方法

FromIndexAndOffset(Int32, Int32)

使用索引和位移所提供的值,建立 GeneratorPosition 值。

適用於