Util.SetReflectedValue Method

Sets the value of a field or a property on the given object by using reflection.

This API is not CLS-compliant. 

Namespace:  Microsoft.BusinessData.Infrastructure
Assembly:  Microsoft.BusinessData (in Microsoft.BusinessData.dll)


<CLSCompliantAttribute(False)> _
Public Shared Sub SetReflectedValue ( _
    fieldOrProperty As MemberInfo, _
    instance As Object, _
    parentTypeForFieldOrProperty As ITypeDescriptor, _
    value As Object _
Dim fieldOrProperty As MemberInfo
Dim instance As Object
Dim parentTypeForFieldOrProperty As ITypeDescriptor
Dim value As ObjectUtil.SetReflectedValue(fieldOrProperty, _
    instance, parentTypeForFieldOrProperty, _
public static void SetReflectedValue(
    MemberInfo fieldOrProperty,
    Object instance,
    ITypeDescriptor parentTypeForFieldOrProperty,
    Object value


  • instance
    Type: System.Object

    The object on which to set the value.

See Also


Util Class

Util Members

Microsoft.BusinessData.Infrastructure Namespace