NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

CodePersister.CreateValueFromExpression

Creates a value from an expression object returned form the CodeSense APIs. This will take the various expressions and execute them, so to say. For example, if you pass in a ICodeObjectCreateExpression for value and it refers to the Point class, then a Point object will be returned.

For more information on values and expression see the ICodeSourceFile documentation.

[Visual Basic]
Protected Function CreateValueFromExpression( _
   ByVal component As Object, _
   ByVal propertyName As String, _
   ByVal value As Object _
) As Object
[C#]
protected object CreateValueFromExpression(
   object component,
   string propertyName,
   object value
);
[C++]
protected: Object* CreateValueFromExpression(
   Object* component,
   String* propertyName,
   Object* value
);
[JScript]
protected function CreateValueFromExpression(
   component : Object,
   propertyName : String,
   value : Object
) : Object;

Parameters

component
[To be supplied.]
propertyName
[To be supplied.]
value
Expression to evaluate.

See Also

CodePersister Class | CodePersister Members | System.ComponentModel.Design Namespace | ICodeSourceFile