ResourceManager.FallbackLocation 属性

定义

获取或设置检索默认回退资源的位置。Gets or sets the location from which to retrieve default fallback resources.

protected:
 property System::Resources::UltimateResourceFallbackLocation FallbackLocation { System::Resources::UltimateResourceFallbackLocation get(); void set(System::Resources::UltimateResourceFallbackLocation value); };
protected System.Resources.UltimateResourceFallbackLocation FallbackLocation { get; set; }
member this.FallbackLocation : System.Resources.UltimateResourceFallbackLocation with get, set
Protected Property FallbackLocation As UltimateResourceFallbackLocation

属性值

指定资源管理器能查找回退资源的位置的某个枚举值。One of the enumeration values that specifies where the resource manager can look for fallback resources.

注解

FallbackLocation当您编写自己的派生ResourceManager自类的类时,属性才有用。The FallbackLocation property is useful only if you write your own class that derives from the ResourceManager class.

您可以使用NeutralResourcesLanguageAttribute属性来通知资源管理器查找应用程序的默认区域性的位置:在主程序集(默认)中或在附属程序集中。You can use the NeutralResourcesLanguageAttribute attribute to inform the resource manager where to find the default culture for an app: in the main assembly (default) or in a satellite assembly.

适用于

另请参阅