Skip to content

net472_PropertyGridHelpers.Attributes_ResourcePathAttribute_ResourcePathAttribute

dparvin edited this page Jan 11, 2026 · 11 revisions

ResourcePathAttribute constructor

Initializes a new instance of the ResourcePathAttribute class, specifying the path, optional assembly name, and usage.

public ResourcePathAttribute(string resourcePath, string resourceAssembly = null, 
    ResourceUsage resourceUsage = ResourceUsage.All)
parameter description
resourcePath The fully qualified name of the resource class (e.g., "MyApp.Resources.MyStrings").
resourceAssembly Optional assembly name containing the resource. If null, defaults to the calling assembly.
resourceUsage Optional usage flag to indicate what the resource is used for (e.g., strings, images). Defaults to All.

See Also

Clone this wiki locally