Share via


GeneratorPositionHelper Klasse

Definition

Stellt Hilfsprogrammmethoden zum Auswerten und Erstellen von GeneratorPosition-Strukturwerten bereit. C#- und Microsoft Visual Basic-Code sollten stattdessen Member von GeneratorPosition verwenden.

public ref class GeneratorPositionHelper sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 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(Windows.Foundation.UniversalApiContract), 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
Vererbung
Object Platform::Object IInspectable GeneratorPositionHelper
Attribute

Windows-Anforderungen

Gerätefamilie
Windows 10 (eingeführt in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (eingeführt in v1.0)

Methoden

FromIndexAndOffset(Int32, Int32)

Erstellt einen GeneratorPosition-Wert mit bereitgestellten Werten für Index und Offset. C# und Microsoft Visual Basic-Code sollten stattdessen GeneratorPosition(Int32,Int32) verwenden.

Gilt für: