X509CertificateCollection.X509CertificateEnumerator.Current 属性

定义

public:
 property System::Security::Cryptography::X509Certificates::X509Certificate ^ Current { System::Security::Cryptography::X509Certificates::X509Certificate ^ get(); };
public System.Security.Cryptography.X509Certificates.X509Certificate Current { get; }
member this.Current : System.Security.Cryptography.X509Certificates.X509Certificate
Public ReadOnly Property Current As X509Certificate

属性值

X509Certificate 中的当前 X509CertificateCollection

例外

枚举器位于集合中第一个元素之前或最后一个元素之后。

注解

X509CertificateCollection.X509CertificateEnumerator 不移动枚举器的位置。 对 属性的 Current 连续调用将返回相同的 对象, MoveNext 直到调用 或 Reset 方法。

适用于