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 对象。

返回

Boolean

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

实现

例外

identitynull

适用于