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.Exception | Description |
---|---|
System.ArgumentNullException | If null is passed as the obj parameter. |
InvalidObjectStateException | If the obj property is write-only. |
The extension method for the System.Reflection.PropertyInfo class.
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