Table of Contents

Method TryGetGetDynamicProperty

Namespace
Kepware.Api.Model
Assembly
Kepware.Api.dll

TryGetGetDynamicProperty<T>(string, out T?)

Attempts to retrieve a dynamic property by key.

public bool TryGetGetDynamicProperty<T>(string key, out T? value)

Parameters

key string

The key of the property.

value T

The retrieved value, or null if not found.

Returns

bool

True if the property exists, false otherwise.

Type Parameters

T

The type of the property.