PSMemberInfoCollection<T>.Remove(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Removes a member from this collection.
public:
abstract void Remove(System::String ^ name);
public:
abstract void Remove(Platform::String ^ name);
abstract void Remove(std::wstring const & name);
public abstract void Remove (string name);
abstract member Remove : string -> unit
Public MustOverride Sub Remove (name As String)
Parameters
- name
- String
Name of the member to be removed.
Exceptions
When: removing a member from an PSMemberSet from the type configuration file removing a member with a reserved member name or trying to remove a member with a type not compatible with this collection
For invalid arguments.