Редактиране

Споделяне чрез


CodeDomSerializer.DeserializeExpression Method

Definition

Deserializes the specified expression.

protected:
 System::Object ^ DeserializeExpression(System::ComponentModel::Design::Serialization::IDesignerSerializationManager ^ manager, System::String ^ name, System::CodeDom::CodeExpression ^ expression);
protected object DeserializeExpression (System.ComponentModel.Design.Serialization.IDesignerSerializationManager manager, string name, System.CodeDom.CodeExpression expression);
member this.DeserializeExpression : System.ComponentModel.Design.Serialization.IDesignerSerializationManager * string * System.CodeDom.CodeExpression -> obj
Protected Function DeserializeExpression (manager As IDesignerSerializationManager, name As String, expression As CodeExpression) As Object

Parameters

manager
IDesignerSerializationManager

A serialization manager interface that is used during the deserialization process.

name
String

An optional name to give the expression. If the expression results in the creation of an object, the object is given this name for subsequent searches through the serialization manager. If this is a null reference (Nothing in Visual Basic), no name will be given.

expression
CodeExpression

The CodeDOM expression to deserialize.

Returns

An object resulting from interpretation of expression.

Applies to