Share via


PSToken.Content Property

Definition

Resulting text for the token.

public:
 property System::String ^ Content { System::String ^ get(); };
public:
 property Platform::String ^ Content { Platform::String ^ get(); };
public string Content { get; }
member this.Content : string
Public ReadOnly Property Content As String

Property Value

Remarks

The text here represents the content of token. It can be the same as the text chunk within script resulting into this token, but usually is not the case.

For example, -name in following command result into a parameter token.

get-process -name foo

Text property in this case is 'name' instead of '-name'.

Applies to