Прочетете на английски

Споделяне чрез


RootNamespaceAttribute Class

Definition

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Provides the RootNamespace of an Assembly. The RootNamespace of the assembly is used by Localization to determine the resource name to look for when RootNamespace differs from the AssemblyName.

C#
[System.AttributeUsage(System.AttributeTargets.Assembly, AllowMultiple=false, Inherited=false)]
public class RootNamespaceAttribute : Attribute
Inheritance
RootNamespaceAttribute
Attributes

Constructors

Properties

RootNamespace

The RootNamespace of this Assembly. The RootNamespace of the assembly is used by Localization to determine the resource name to look for when RootNamespace differs from the AssemblyName.

Applies to

Продукт Версии
.NET 10 (package-provided)
.NET Standard 2.0 (package-provided)