📄 resdescriptionattribute.cs
字号:
//------------------------------------------------------------------------------
// Copyright (c) 2000-2003 Microsoft Corporation. All Rights Reserved.
//------------------------------------------------------------------------------
namespace Microsoft.Web.UI.WebControls
{
using System;
using System.ComponentModel;
/// <summary>
/// Implements the DescriptionAttribute except that the parameter is a resource name.
/// </summary>
[AttributeUsage(AttributeTargets.All, AllowMultiple=false, Inherited=true)]
internal class ResDescriptionAttribute : DescriptionAttribute
{
/// <summary>
/// Initializes a new instance of a ResDescriptionAttribute.
/// </summary>
/// <param name="resourceName">The name of the string resource.</param>
public ResDescriptionAttribute(string resourceName): base()
{
DescriptionValue = Util.GetStringResource(resourceName);
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -