docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Interface IReadOnlyHashSet<T>

    A read-only hash set that raises events when keys are added or removed.

    Namespace: VivoxUnity
    Assembly: VivoxUnity.dll
    Syntax
    public interface IReadOnlyHashSet<T>
    Type Parameters
    Name Description
    T

    The type of item in the hashset

    Properties

    Count

    The number of items in the collection.

    Declaration
    int Count { get; }
    Property Value
    Type Description
    int

    Methods

    Contains(T)

    Indicates whether a key is contained in the collection.

    Declaration
    bool Contains(T key)
    Parameters
    Type Name Description
    T key

    The key.

    Returns
    Type Description
    bool

    True if the key is contained in the collection.

    Events

    AfterKeyAdded

    Raised after adding a key.

    Declaration
    event EventHandler<KeyEventArg<T>> AfterKeyAdded
    Event Type
    Type Description
    EventHandler<KeyEventArg<T>>

    BeforeKeyRemoved

    Raised prior to removing a key.

    Declaration
    event EventHandler<KeyEventArg<T>> BeforeKeyRemoved
    Event Type
    Type Description
    EventHandler<KeyEventArg<T>>
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)