CmdletProvider.WriteItemObject(Object, String, Boolean) Method

Definition

Writes an item to the output as a PSObject with extra data attached as notes.

public:
 void WriteItemObject(System::Object ^ item, System::String ^ path, bool isContainer);
public:
 void WriteItemObject(Platform::Object ^ item, Platform::String ^ path, bool isContainer);
void WriteItemObject(winrt::Windows::Foundation::IInspectable const & item, std::wstring const & path, bool isContainer);
public void WriteItemObject (object item, string path, bool isContainer);
member this.WriteItemObject : obj * string * bool -> unit
Public Sub WriteItemObject (item As Object, path As String, isContainer As Boolean)

Parameters

item
Object

The item to be written.

path
String

The path of the item being written.

isContainer
Boolean

True if the item is a container, false otherwise.

Applies to