Item 属性 (String)
Gets a Condition object in the collection by name.
命名空间: Microsoft.SqlServer.Management.Dmf
程序集: Microsoft.SqlServer.Dmf(在 Microsoft.SqlServer.Dmf.dll 中)
语法
声明
Public ReadOnly Default Property Item ( _
name As String _
) As Condition
Get
用法
Dim instance As ConditionCollection
Dim name As String
Dim value As Condition
value = instance(name)
public Condition this[
string name
] { get; }
public:
property Condition^ default[String^ name] {
Condition^ get (String^ name);
}
member Item : Condition
JScript 支持使用索引属性,但不支持声明新索引属性。
参数
- name
类型:System. . :: . .String
A String value that specifies the name of the Condition object in the ConditionCollection collection.
属性值
类型:Microsoft.SqlServer.Management.Dmf. . :: . .Condition
A Condition object value that represents the condition that has the specified name.
注释
仅 Microsoft .NET Framework 的 2.0 版本支持此命名空间、类或成员。