Share via


ITypeReflector.Set Method (TypeDescriptor, TypeDescriptor, Object, Object)

NOTE: This API is now obsolete.

Sets the value of the specified TypeDescriptor object in the root TypeDescriptor object.

Namespace:  Microsoft.Office.Server.ApplicationRegistry.Infrastructure
Assembly:  Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)

Syntax

'Declaration
<ObsoleteAttribute("O12 Application Registry API is deprecated. Please use BusinessData.",  _
    False)> _
Sub Set ( _
    typeDescriptor As TypeDescriptor, _
    instanceRootTypeDescriptor As TypeDescriptor, _
    ByRef instance As Object, _
    value As Object _
)
'Usage
Dim instance As ITypeReflector
Dim typeDescriptor As TypeDescriptor
Dim instanceRootTypeDescriptor As TypeDescriptor
Dim instance As Object
Dim value As Object

instance.Set(typeDescriptor, instanceRootTypeDescriptor, _
    instance, value)
[ObsoleteAttribute("O12 Application Registry API is deprecated. Please use BusinessData.", 
    false)]
void Set(
    TypeDescriptor typeDescriptor,
    TypeDescriptor instanceRootTypeDescriptor,
    ref Object instance,
    Object value
)

Parameters

  • instance
    Type: System.Object

    An instance of a Type corresponding to the root TypeDescriptor object of the TypeDescriptor object that is passed in.

  • value
    Type: System.Object

    An instance of a Type corresponding to the TypeDescriptor object that is passed in.

See Also

Reference

ITypeReflector Interface

ITypeReflector Members

Set Overload

Microsoft.Office.Server.ApplicationRegistry.Infrastructure Namespace