共用方式為


CmdletProvider.WriteInformation Method

Definition

Overloads

WriteInformation(InformationRecord)
WriteInformation(Object, String[])

WriteInformation(InformationRecord)

public:
 void WriteInformation(System::Management::Automation::InformationRecord ^ record);
public void WriteInformation (System.Management.Automation.InformationRecord record);
member this.WriteInformation : System.Management.Automation.InformationRecord -> unit
Public Sub WriteInformation (record As InformationRecord)

Parameters

Applies to

WriteInformation(Object, String[])

public:
 void WriteInformation(System::Object ^ messageData, cli::array <System::String ^> ^ tags);
public:
 void WriteInformation(Platform::Object ^ messageData, Platform::Array <Platform::String ^> ^ tags);
void WriteInformation(winrt::Windows::Foundation::IInspectable const & messageData, std::Array <std::wstring const &> const & tags);
public void WriteInformation (object messageData, string[] tags);
member this.WriteInformation : obj * string[] -> unit
Public Sub WriteInformation (messageData As Object, tags As String())

Parameters

messageData
Object
tags
String[]

Applies to