語言

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要移除的物品。

傳回

true 如果指定的物件從集合中移除。

實作

例外狀況

identity 是 null。

適用於