Читати англійською Редагувати

Поділитися через


ControlDesigner.GetPersistenceContent Method

Definition

Retrieves the persistable inner HTML markup of the control at design time.

C#
public virtual string GetPersistenceContent();

Returns

A string representing the persistable inner HTML markup for the associated control. The default is null.

Notes to Inheritors

Override the GetPersistenceContent() method to provide custom handling of the inner content persistence for the design host.

Applies to

Продукт Версії
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

See also