Redigera

Dela via


ControlPersister.PersistInnerProperties Method

Definition

Gets a string of data that can persist the inner properties of the specified control.

Overloads

PersistInnerProperties(Object, IDesignerHost)

Gets a string of data that can persist the inner properties of the specified control.

PersistInnerProperties(TextWriter, Object, IDesignerHost)

Outputs a string of data that can persist the inner properties of the specified control to the specified TextWriter, using the specified designer host.

PersistInnerProperties(Object, IDesignerHost)

Gets a string of data that can persist the inner properties of the specified control.

public:
 static System::String ^ PersistInnerProperties(System::Object ^ component, System::ComponentModel::Design::IDesignerHost ^ host);
public static string PersistInnerProperties (object component, System.ComponentModel.Design.IDesignerHost host);
static member PersistInnerProperties : obj * System.ComponentModel.Design.IDesignerHost -> string
Public Shared Function PersistInnerProperties (component As Object, host As IDesignerHost) As String

Parameters

component
Object

The component to persist the inner properties of.

host
IDesignerHost

An IDesignerHost that is the designer host for the control.

Returns

A string that contains the information to persist about the inner properties of the control.

Remarks

This method requires an IDesignerHost implementation to work correctly.

See also

Applies to

PersistInnerProperties(TextWriter, Object, IDesignerHost)

Outputs a string of data that can persist the inner properties of the specified control to the specified TextWriter, using the specified designer host.

public:
 static void PersistInnerProperties(System::IO::TextWriter ^ sw, System::Object ^ component, System::ComponentModel::Design::IDesignerHost ^ host);
public static void PersistInnerProperties (System.IO.TextWriter sw, object component, System.ComponentModel.Design.IDesignerHost host);
static member PersistInnerProperties : System.IO.TextWriter * obj * System.ComponentModel.Design.IDesignerHost -> unit
Public Shared Sub PersistInnerProperties (sw As TextWriter, component As Object, host As IDesignerHost)

Parameters

sw
TextWriter

The TextWriter to use.

component
Object

The component to persist.

host
IDesignerHost

An IDesignerHost that is the designer host for the control.

Remarks

This method requires an IDesignerHost implementation to work correctly.

Applies to