Click or drag to resize
Llvm.NET LogoExtensiblePropertyDescriptorTGetValueFrom Method (IExtensiblePropertyContainer, T)

[This is preliminary documentation and is subject to change.]

Gets a value for the property from the container

Namespace:  Llvm.NET
Assembly:  Llvm.NET (in Llvm.NET.dll) Version: 3.8.6158
Syntax
C#
public T GetValueFrom(
	IExtensiblePropertyContainer container,
	T defaultValue
)

Parameters

container
Type: Llvm.NETIExtensiblePropertyContainer
container
defaultValue
Type: T
default value if the value is not yet present as an extended property

Return Value

Type: T
Value retrieved from the property or defaultValue if it wasn't found
Remarks
If the value didn't exist a new value with defaultValue is added to the container
See Also