Export (0) Print
Expand All

CodeDomSerializer.DeserializeStatementToInstance Method

Deserializes a single statement.

Namespace: System.ComponentModel.Design.Serialization
Assembly: System.Design (in system.design.dll)

protected Object DeserializeStatementToInstance (
	IDesignerSerializationManager manager,
	CodeStatement statement
)
protected Object DeserializeStatementToInstance (
	IDesignerSerializationManager manager, 
	CodeStatement statement
)
protected function DeserializeStatementToInstance (
	manager : IDesignerSerializationManager, 
	statement : CodeStatement
) : Object
Not applicable.

Parameters

manager

The serialization manager to use for serialization.

statement

The statement to deserialize.

Return Value

An object instance resulting from deserializing statement.

The DeserializeStatementToInstance is equivalent of calling DeserializeStatement, except that it returns an object instance if the resulting statement was a variable assign statement, a variable declaration with an init expression, or a field assignment statement.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

ADD
Show:
© 2014 Microsoft