Click or drag to resize

ObjectExPropertyGetT Method (Object, String, Object, Boolean)

Gets the value of the object property by name.

Namespace:  NeoAxis
Assembly:  NeoAxis.Core (in NeoAxis.Core.dll) Version: 2021.3.1.0 (2021.3.1.0)
Syntax
C#
public static T PropertyGet<T>(
	this Object obj,
	string name,
	Object[] indexers = null,
	bool unreferenceValue = true
)

Parameters

obj
Type: SystemObject
name
Type: SystemString
indexers (Optional)
Type: SystemObject
unreferenceValue (Optional)
Type: SystemBoolean

Type Parameters

T

Return Value

Type: T

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Object. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also