使用指定的值指示属性是否是添加的上下文参数名称,以此来初始化 IsContextParameterNameAttribute 类的新实例。
命名空间: Microsoft.VisualStudio.TestTools.WebTesting.Rules
程序集: Microsoft.VisualStudio.QualityTools.WebTestFramework(在 Microsoft.VisualStudio.QualityTools.WebTestFramework.dll 中)
语法
声明
Public Sub New ( _
isAddedContextParameter As Boolean _
)
public IsContextParameterNameAttribute(
bool isAddedContextParameter
)
public:
IsContextParameterNameAttribute(
bool isAddedContextParameter
)
new :
isAddedContextParameter:bool -> IsContextParameterNameAttribute
public function IsContextParameterNameAttribute(
isAddedContextParameter : boolean
)
参数
- isAddedContextParameter
类型:System.Boolean
如果声明属性是上下文参数名称,则为 true;否则为 false。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。