Table of Contents

Method MenuFromId

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

MenuFromId(ObjectUniqueId)

Retrieves a menu by its unique identifier.

public static Menu? MenuFromId(ObjectUniqueId id)

Parameters

id ObjectUniqueId

The unique identifier of the menu to retrieve.

Returns

Menu

The Menu associated with the specified identifier, or null if no menu is found.

Remarks

This method searches for a menu in the collection using the provided unique identifier. If the identifier does not exist in the collection, the method returns null.