Edit

Share via


ControlDesigner.Localize(IDesignTimeResourceWriter) Method

Definition

Uses the provided resource writer to persist the localizable properties of the associated control to a resource in the design host.

public void Localize(System.Web.UI.Design.IDesignTimeResourceWriter resourceWriter);

Parameters

resourceWriter
IDesignTimeResourceWriter

An object derived from the IDesignTimeResourceWriter object that is used to write resources into the design-time response stream.

Remarks

The Localize method is called by the design host to create resource entries for each property that is marked with a LocalizableAttribute object and any properties that use an explicit resource expression as a value.

Applies to

Product Versions
.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