Properties and methods

In Chapter 3, Working with Objects in PowerShell, the idea of using properties and methods was introduced. Get-Member was used to list each of these.

Properties for objects derived from .NET classes, such as those for the System.Text.StringBuilder class, are documented on MSDN:

Similarly, methods are described in detail, often with examples of usage (in C#, VB, F#, and so on):

These methods may be used as long as the argument lists can be satisfied. The fourth item on the list is difficult to leverage in PowerShell, as Char* represents a pointer to an array of Unicode characters. A pointer is a reference to a location in memory, something not often seen in PowerShell and beyond the scope of this chapter.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.139.86.56