LocalizedDescriptionAttribute Constructor(Type,String)
- Last UpdatedSep 29, 2026
- 1 minute read
Initializes a new instance of the LocalizedDescriptionAttribute class. This is to be used when the C# Resource class is accessible.
'Declaration
Public Function New( _
ByVal typeFromAssembly As Type, _
ByVal resourceId As String _
)
public LocalizedDescriptionAttribute(
Type typeFromAssembly,
string resourceId
)
public:
LocalizedDescriptionAttribute(
Type^ typeFromAssembly,
String^ resourceId
)
Parameters
- typeFromAssembly
- This should be the type of resource class.
- resourceId
- Id of the string resource
[LocalizedDescription(typeof(ArchestrA.Visualization.Displays.WebCore.Properties.Resources), "Address_Description")]
Target Platforms:
- Windows 10 Enterprise, IoT Enterprise 2019 LTSC (1809)
- Windows 10 Enterprise 2021 LTSC (21H2)
- Windows 10 IoT Enterprise (Only) 2021 LTSC (21H2)
- Windows 11 Enterprise, IoT Enterprise 2024 LTSC 24H2
- Windows Server 2019 LTSC (Datacenter, Essentials, Standard)
- Windows Server IoT 2019 LTSC
- Windows Server 2022 LTSC Standard and Datacenter
- Windows Server 2025 LTSC Standard and Datacenter