Platform Core .NET Assemblies API
TrySetPropertyValue Method
See Also  Send Feedback
Terrasoft.Common Namespace > ReflectionUtilities Class : TrySetPropertyValue Method
source
Type.
propertyName
Property name.
value
The value of the property.

Glossary Item Box

Attempts to set a value of the specified type for an instance of the current type.

Syntax

 
C#
 
 

Parameters

source
Type.
propertyName
Property name.
value
The value of the property.

Return Value

true,, if value value has been set for the propertyName property; else - false.

Remarks

The extension method for the System.Object 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.