Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Gets the value that is associated with the specified key.

API: engine
Project: Inno.Build.Toolchains

public bool Inno.Build.Toolchains.NativeBindingGenerationResult.TryGetValue(string key, out Inno.Build.Toolchains.NativeBindingGenerationDescriptor value)

Parameter key: The key to locate.

Parameter value: When this method returns, the value associated with the specified key, if the key is found; otherwise, the default value for the type of the value parameter. This parameter is passed uninitialized.

Exception T:System.ArgumentNullException: key is null.

Exception T:System.ObjectDisposedException: Reading ownership has ended.

true if the object that implements the T:System.Collections.Generic.IReadOnlyDictionary`2 interface contains an element that has the specified key; otherwise, false.

A returned descriptor is borrowed and must not be used to access files after this result is disposed.