ProfileInfoCollection.Remove(String) ProfileInfoCollection.Remove(String) ProfileInfoCollection.Remove(String) ProfileInfoCollection.Remove(String) Method

定义

从集合中移除具有指定用户名的 ProfileInfo 对象。Removes the ProfileInfo object with the specified user name from the collection.

public:
 void Remove(System::String ^ name);
public void Remove (string name);
member this.Remove : string -> unit
Public Sub Remove (name As String)

参数

name
String String String String

要从集合中移除的 UserName 对象的 ProfileInfoThe UserName of the ProfileInfo object to remove from the collection.

异常

该集合是只读的。The collection is read-only.

适用于

另请参阅