Platform Core .NET Assemblies API
ForceGetValue Method
See Also  Send Feedback
Terrasoft.Common Namespace > ReflectionUtilities Class : ForceGetValue Method
source
Attributes and meta data of the current property.
obj
Object whose value is returned if the source property is write-only.
args

Glossary Item Box

Gets the current property value or value of the get_[source property name]() of the specified obj object.

Syntax

 
C#
 
 

Parameters

source
Attributes and meta data of the current property.
obj
Object whose value is returned if the source property is write-only.
args

Return Value

Object that contains the property value.

Exceptions

ExceptionDescription
System.ArgumentNullExceptionIf null is passed as the obj parameter.
InvalidObjectStateExceptionIf the obj property is write-only.

Remarks

The extension method for the System.Reflection.PropertyInfo class.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

© Terrasoft 2002-2018.