Click or drag to resize

imbTypologyPropertyGetSetimbSetPropertySafe Method (Object, PropertyInfo, Object, Boolean, Object, Boolean)

imbSCI | imbACE | imbNLP | imbWEM | imbWBI
2013> Sigurano postavljanje vrednosti objekta

Namespace:  imbSCI.Core.extensions.typeworks
Assembly:  imbSCI.Core (in imbSCI.Core.dll) Version: 0.3.58.
Syntax
C#
public static void imbSetPropertySafe(
	this Object input,
	PropertyInfo property,
	Object newValue,
	bool OnlyIfReadWrite = false,
	Object[] indexers = null,
	bool staticAccess = false
)
Request Example View Source

Parameters

input
Type: SystemObject
property
Type: System.ReflectionPropertyInfo
newValue
Type: SystemObject
OnlyIfReadWrite (Optional)
Type: SystemBoolean
indexers (Optional)
Type: SystemObject
staticAccess (Optional)
Type: SystemBoolean

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