Synced
NativeBindingGenerationResult.TryGetValue
Section titled “NativeBindingGenerationResult.TryGetValue”
- Gets the value that is associated with the specified key.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Build.Toolchains
Declaration
Section titled “Declaration”public bool Inno.Build.Toolchains.NativeBindingGenerationResult.TryGetValue(string key, out Inno.Build.Toolchains.NativeBindingGenerationDescriptor value)Parameters
Section titled “Parameters”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.
Exceptions
Section titled “Exceptions”Exception T:System.ArgumentNullException: key is null.
Exception T:System.ObjectDisposedException: Reading ownership has ended.
Returns
Section titled “Returns”true if the object that implements the T:System.Collections.Generic.IReadOnlyDictionary`2 interface contains an element that has the specified key; otherwise, false.
Remarks
Section titled “Remarks”A returned descriptor is borrowed and must not be used to access files after this result is disposed.