TestCaseManagementDisplayNameAttribute 构造函数
初始化 TestCaseManagementDisplayNameAttribute 类的新实例。
命名空间: Microsoft.VisualStudio.TestTools.Common
程序集: Microsoft.VisualStudio.QualityTools.Common(在 Microsoft.VisualStudio.QualityTools.Common.dll 中)
语法
声明
Public Sub New ( _
resourceType As Type, _
resourceId As String _
)
public TestCaseManagementDisplayNameAttribute(
Type resourceType,
string resourceId
)
public:
TestCaseManagementDisplayNameAttribute(
Type^ resourceType,
String^ resourceId
)
new :
resourceType:Type *
resourceId:string -> TestCaseManagementDisplayNameAttribute
public function TestCaseManagementDisplayNameAttribute(
resourceType : Type,
resourceId : String
)
参数
- resourceType
类型:System.Type
资源对象的 Type。
- resourceId
类型:System.String
要返回的资源的标识符。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。