Task.TaskResources 属性

定义

获取或设置任务的区域性特定资源。Gets or sets the task's culture-specific resources. 派生类应在构造期间注册资源,如果它们有本地化字符串,则可以通过此属性注册。Derived classes should register their resources either during construction, or via this property, if they have localized strings.

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

属性值

ResourceManager

任务的资源 (可以为 null) 。The task's resources (can be null).

注解

如果派生类具有本地化字符串,则它们应在构造期间或通过此属性注册其资源。If derived classes have localized strings, then they should register their resources either during construction, or through this property.

适用于