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 值。

适用于