Finding Method Definitions


I am creating new variable of type string

$str=[string]"Hi, How are you"

You can get the methods information of this variable using $str|gm

If you want to check the methods only use the below code

$str |gm -membertype method

If you want to see the method definitions, you can use the

Code like this

$str.StartsWith

OverloadDefinitions

Leave a Reply

Create your own website, free on WordPress.com.Create your own website.
Start free