ITypeReflector.Set Method (TypeDescriptor, TypeDescriptor, Object, Object)
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
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)
void Set(
TypeDescriptor typeDescriptor,
TypeDescriptor instanceRootTypeDescriptor,
ref Object instance,
Object value
)
Parameters
- typeDescriptor
Type: Microsoft.Office.Server.ApplicationRegistry.MetadataModel.TypeDescriptor
A TypeDescriptor object that is not the root TypeDescriptor object that defines the subtype to be set.
- instanceRootTypeDescriptor
Type: Microsoft.Office.Server.ApplicationRegistry.MetadataModel.TypeDescriptor
The root TypeDescriptor object that describes the instance.
- 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
Microsoft.Office.Server.ApplicationRegistry.Infrastructure Namespace