PSMemberInfoCollection<T>.Match PSMemberInfoCollection<T>.Match PSMemberInfoCollection<T>.Match Method

Definition

Overloads

Match(String) Match(String) Match(String)

Returns all members in the collection matching name

Match(String, PSMemberTypes) Match(String, PSMemberTypes) Match(String, PSMemberTypes)

Returns all members in the collection matching name and types

Match(String) Match(String) Match(String)

Returns all members in the collection matching name

public abstract System.Management.Automation.ReadOnlyPSMemberInfoCollection<T> Match (string name);
abstract member Match : string -> System.Management.Automation.ReadOnlyPSMemberInfoCollection<'T (requires 'T :> System.Management.Automation.PSMemberInfo)>
Public MustOverride Function Match (name As String) As ReadOnlyPSMemberInfoCollection(Of T)
Parameters
name
String String String

name of the members to be return. May contain wildcard characters.

Returns
Exceptions

Match(String, PSMemberTypes) Match(String, PSMemberTypes) Match(String, PSMemberTypes)

Returns all members in the collection matching name and types

public abstract System.Management.Automation.ReadOnlyPSMemberInfoCollection<T> Match (string name, System.Management.Automation.PSMemberTypes memberTypes);
abstract member Match : string * System.Management.Automation.PSMemberTypes -> System.Management.Automation.ReadOnlyPSMemberInfoCollection<'T (requires 'T :> System.Management.Automation.PSMemberInfo)>
Public MustOverride Function Match (name As String, memberTypes As PSMemberTypes) As ReadOnlyPSMemberInfoCollection(Of T)
Parameters
name
String String String

name of the members to be return. May contain wildcard characters.

memberTypes
PSMemberTypes PSMemberTypes PSMemberTypes

type of the members to be searched.

Returns
Exceptions

Applies to