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
typeDescriptor
Type: Microsoft.Office.Server.ApplicationRegistry.MetadataModel.TypeDescriptorA TypeDescriptor object that is not the root TypeDescriptor object that defines the subtype to be set.
instanceRootTypeDescriptor
Type: Microsoft.Office.Server.ApplicationRegistry.MetadataModel.TypeDescriptorThe root TypeDescriptor object that describes the instance.
instance
Type: System.ObjectAn instance of a Type corresponding to the root TypeDescriptor object of the TypeDescriptor object that is passed in.
value
Type: System.ObjectAn instance of a Type corresponding to the TypeDescriptor object that is passed in.
See Also
Reference
Microsoft.Office.Server.ApplicationRegistry.Infrastructure Namespace