Rediger

Del 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);
public void Localize (System.Web.UI.Design.IDesignTimeResourceWriter resourceWriter);
member this.Localize : System.Web.UI.Design.IDesignTimeResourceWriter -> unit
Public Sub Localize (resourceWriter As IDesignTimeResourceWriter)

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

See also