Dela via


CmdletProvider.WritePropertyObject(Object, String) Method

Definition

Writes a property object to the output as a PSObject with extra data attached as notes.

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

Parameters

propertyValue
Object

The properties to be written.

path
String

The path of the item being written.

Applies to