语言

IdentityReferenceCollection.Remove(IdentityReference) 方法

定义

从集合中删除指定的 IdentityReference 对象。

public:
 virtual bool Remove(System::Security::Principal::IdentityReference ^ identity);
public bool Remove(System.Security.Principal.IdentityReference identity);
abstract member Remove : System.Security.Principal.IdentityReference -> bool
override this.Remove : System.Security.Principal.IdentityReference -> bool
Public Function Remove (identity As IdentityReference) As Boolean

参数

identity
IdentityReference

要 IdentityReference 删除的对象。

返回

如果从集合中删除了指定的对象,则为 。

实现

例外

identity 是 null。

适用于