SemPtr SemPtr
SemPtr SemPtr
Documentation generated with DocFX
Using SingulinkFX as the template

Search Results for

    Method InitializeTarget

    InitializeTarget(in T)

    Initializes the target value the current pointer is pointing to with the specified value.

    Declaration
    public PersistentPointer<T> InitializeTarget(in T value)
    Parameters
    Type Name Description
    T value

    The value to initialize at the target location.

    Returns
    Type Description
    PersistentPointer<T>

    A new PersistentPointer<T> pointing to the same target as the current pointer, representing the initialized target.

    InitializeTarget(nint, in T)

    Initializes the target value at the specified index in the sequence the current pointer is pointing to with the specified value.

    Declaration
    public PersistentPointer<T> InitializeTarget(nint index, in T value)
    Parameters
    Type Name Description
    nint index

    The index of the target value in the sequence.

    T value

    The value to initialize at the specified index.

    Returns
    Type Description
    PersistentPointer<T>

    A new PersistentPointer<T> pointing to the same target with the specified index in the sequence, representing the single initialized target.

    InitializeTarget(nuint, in T)

    Initializes the target value at the specified index in the sequence the current pointer is pointing to with the specified value.

    Declaration
    public PersistentPointer<T> InitializeTarget(nuint index, in T value)
    Parameters
    Type Name Description
    nuint index

    The index of the target value in the sequence.

    T value

    The value to initialize at the specified index.

    Returns
    Type Description
    PersistentPointer<T>

    A new PersistentPointer<T> pointing to the same target with the specified index in the sequence, representing the single initialized target.

    © 2026 Felix Rüdiger. SemPtr and its documentation are licensed under the MIT license.