Table of Contents

Method TryGet

Namespace
LMKit.Data
Assembly
LM-Kit.NET.dll

TryGet(string, out Metadata)

Attempts to retrieve the metadata entry with the specified key.

public bool TryGet(string key, out Metadata metadata)

Parameters

key string

The key of the metadata entry to retrieve.

metadata Metadata

When this method returns, contains the metadata entry associated with the specified key, if found; otherwise, null.

Returns

bool

True if the metadata entry was found; otherwise, false.