Share via


WebCmdletElementCollection.Find(String) Method

Definition

Finds the element with name or id.

public:
 System::Management::Automation::PSObject ^ Find(System::String ^ nameOrId);
public System.Management.Automation.PSObject Find (string nameOrId);
public System.Management.Automation.PSObject? Find (string nameOrId);
member this.Find : string -> System.Management.Automation.PSObject
Public Function Find (nameOrId As String) As PSObject

Parameters

nameOrId
String

Returns

Found element as PSObject.

Applies to