X509CertificateCollection.X509CertificateEnumerator.Current 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取 X509Certificate 中的当前 X509CertificateCollection。
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 方法。