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

適用於