ControlDesigner.Localize Method (IDesignTimeResourceWriter)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

Namespace:   System.Web.UI.Design
Assembly:  System.Design (in System.Design.dll)

public void Localize(
	IDesignTimeResourceWriter resourceWriter
)

Parameters

resourceWriter
Type: System.Web.UI.Design.IDesignTimeResourceWriter

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

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.

.NET Framework
Available since 2.0
Return to top
Show: