PSToken.Content Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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'.