语言

Evidence.Count 属性

定义

注意

Evidence should not be treated as an ICollection. Use GetHostEnumerator and GetAssemblyEnumerator to iterate over the evidence to collect a count.

注意

Evidence should not be treated as an ICollection. Please use GetHostEnumerator and GetAssemblyEnumerator to iterate over the evidence to collect a count.

注意

现已弃用此 API。

获取证据集中的证据对象数。

public:
 property int Count { int get(); };
[System.Obsolete("Evidence should not be treated as an ICollection. Use GetHostEnumerator and GetAssemblyEnumerator to iterate over the evidence to collect a count.")]
public int Count { get; }
[System.Obsolete("Evidence should not be treated as an ICollection. Please use GetHostEnumerator and GetAssemblyEnumerator to iterate over the evidence to collect a count.")]
public int Count { get; }
public int Count { get; }
[System.Obsolete]
public int Count { get; }
[<System.Obsolete("Evidence should not be treated as an ICollection. Use GetHostEnumerator and GetAssemblyEnumerator to iterate over the evidence to collect a count.")>]
member this.Count : int
[<System.Obsolete("Evidence should not be treated as an ICollection. Please use GetHostEnumerator and GetAssemblyEnumerator to iterate over the evidence to collect a count.")>]
member this.Count : int
member this.Count : int
[<System.Obsolete>]
member this.Count : int
Public ReadOnly Property Count As Integer

属性值

证据集中的证据对象数。

实现

特性

适用于