@@ -251,10 +251,10 @@ which was published 86 years ago.
251251
252252### Example 4 - Class with static members
253253
254- The ** BookList** class in this example builds on the ** Book** class in example
255- 2 . While the ** BookList** class can't be marked static itself, the
256- implementation only defines the ** Books** static property and a set of static
257- methods for managing that property.
254+ The ** BookList** class in this example builds on the ** Book** class in the
255+ previous example . While the ** BookList** class can't be marked static itself,
256+ the implementation only defines the ** Books** static property and a set of
257+ static methods for managing that property.
258258
259259``` powershell
260260class BookList {
@@ -485,7 +485,7 @@ Properties are variables declared in the class scope. A property can be of any
485485built-in type or an instance of another class. Classes can have zero or more
486486properties. Classes don't have a maximum property count.
487487
488- For more information, see [ about_Classes_Properties] [ 01 ] .
488+ For more information, see [ about_Classes_Properties] [ 09 ] .
489489
490490## Class methods
491491
@@ -495,7 +495,7 @@ method doesn't return any output, it must have the **Void** output type. If a
495495method doesn't explicitly define an output type, the method's output type is
496496** Void** .
497497
498- For more information, see [ about_Classes_Methods] [ 02 ] .
498+ For more information, see [ about_Classes_Methods] [ 06 ] .
499499
500500## Class constructors
501501
@@ -504,7 +504,7 @@ moment of creating the instance of the class. Constructors have the same name
504504as the class. Constructors might have parameters, to initialize the data
505505members of the new object.
506506
507- For more information, see [ about_Classes_Constructors] [ 03 ] .
507+ For more information, see [ about_Classes_Constructors] [ 02 ] .
508508
509509## Hidden keyword
510510
@@ -533,11 +533,11 @@ Hidden class members are:
533533> When you hide any constructor, the ` new() ` option is removed from
534534> IntelliSense and completion results.
535535
536- For more information about the keyword, see [ about_Hidden] [ 04 ] . For more
537- information about hidden properties, see [ about_Classes_Properties] [ 05 ] . For
538- more information about hidden methods, see [ about_Classes_Methods] [ 06 ] . For
536+ For more information about the keyword, see [ about_Hidden] [ 13 ] . For more
537+ information about hidden properties, see [ about_Classes_Properties] [ 10 ] . For
538+ more information about hidden methods, see [ about_Classes_Methods] [ 07 ] . For
539539more information about hidden constructors, see
540- [ about_Classes_Constructors] [ 07 ] .
540+ [ about_Classes_Constructors] [ 03 ] .
541541
542542## Static keyword
543543
@@ -551,9 +551,9 @@ available always. All static properties live for the entire session span.
551551The ` static ` keyword only applies to class members, not a class itself.
552552
553553For more information about static properties, see
554- [ about_Classes_Properties] [ 08 ] . For more information about static methods, see
555- [ about_Classes_Methods] [ 09 ] . For more information about static constructors,
556- see [ about_Classes_Constructors] [ 10 ] .
554+ [ about_Classes_Properties] [ 11 ] . For more information about static methods, see
555+ [ about_Classes_Methods] [ 08 ] . For more information about static constructors,
556+ see [ about_Classes_Constructors] [ 04 ] .
557557
558558## Inheritance in PowerShell classes
559559
@@ -569,8 +569,7 @@ inherits from an interface must implement that contract. When it does, the
569569class can be used like any other class implementing that interface.
570570
571571For more information about deriving classes that inherit from a base class or
572- implement interfaces, see
573- [ about_Classes_Inheritance] [ 11 ] .
572+ implement interfaces, see [ about_Classes_Inheritance] [ 05 ] .
574573
575574## NoRunspaceAffinity attribute
576575
@@ -592,8 +591,7 @@ thread and the thread's current session state.
592591The attribute was added in PowerShell 7.4.
593592
594593For an illustration of the difference in behavior for classes with and without
595- the ` NoRunspaceAffinity ` attribute, see
596- [ Example 4] ( #example-4---class-definition-with-and-without-runspace-affinity ) .
594+ the ` NoRunspaceAffinity ` attribute, see [ Example 5] [ 01 ] .
597595
598596## Export classes with type accelerators
599597
@@ -679,7 +677,7 @@ consistently import classes defined in nested modules or classes defined in
679677scripts that are dot-sourced into the root module. Define classes that you want
680678to be available to users outside of the module directly in the root module.
681679
682- For more information about the ` using ` statement, see [ about_Using] [ 12 ] .
680+ For more information about the ` using ` statement, see [ about_Using] [ 16 ] .
683681
684682## Load newly changed code during development
685683
@@ -706,7 +704,7 @@ parameters can't be used with class members. The **PSReference** class was
706704designed to support COM objects. COM objects have cases where you need to pass
707705a value in by reference.
708706
709- For more information, see [ PSReference Class] [ 13 ] .
707+ For more information, see [ PSReference Class] [ 17 ] .
710708
711709## Limitations
712710
@@ -826,30 +824,31 @@ workaround for those limitations, if any.
826824
827825## See also
828826
829- - [ about_Classes_Constructors] [ 03 ]
830- - [ about_Classes_Inheritance] [ 11 ]
831- - [ about_Classes_Methods] [ 02 ]
832- - [ about_Classes_Properties] [ 01 ]
833- - [ about_Enum] [ 14 ]
834- - [ about_Hidden] [ 04 ]
835- - [ about_Language_Keywords] [ 15 ]
836- - [ about_Methods] [ 16 ]
837- - [ about_Using] [ 12 ]
827+ - [ about_Classes_Constructors] [ 02 ]
828+ - [ about_Classes_Inheritance] [ 05 ]
829+ - [ about_Classes_Methods] [ 06 ]
830+ - [ about_Classes_Properties] [ 09 ]
831+ - [ about_Enum] [ 12 ]
832+ - [ about_Hidden] [ 13 ]
833+ - [ about_Language_Keywords] [ 14 ]
834+ - [ about_Methods] [ 15 ]
835+ - [ about_Using] [ 16 ]
838836
839837<!-- link references -->
840- [ 01 ] : about_Classes_Properties.md
841- [ 02 ] : about_Classes_Methods.md
842- [ 03 ] : about_Classes_Constructors.md
843- [ 04 ] : about_Hidden.md
844- [ 05 ] : about_Classes_Properties.md#hidden-properties
845- [ 06 ] : about_Classes_Methods.md#hidden-methods
846- [ 07 ] : about_Classes_Constructors.md#hidden-constructors
847- [ 08 ] : about_Classes_Properties.md#static-properties
848- [ 09 ] : about_Classes_Methods.md#static-methods
849- [ 10 ] : about_Classes_Constructors.md#static-constructors
850- [ 11 ] : about_Classes_Inheritance.md
851- [ 12 ] : about_Using.md
852- [ 13 ] : /dotnet/api/system.management.automation.psreference
853- [ 14 ] : about_Enum.md
854- [ 15 ] : about_language_keywords.md
855- [ 16 ] : about_methods.md
838+ [ 01 ] : #example-5---class-definition-with-and-without-runspace-affinity
839+ [ 02 ] : about_Classes_Constructors.md
840+ [ 03 ] : about_Classes_Constructors.md#hidden-constructors
841+ [ 04 ] : about_Classes_Constructors.md#static-constructors
842+ [ 05 ] : about_Classes_Inheritance.md
843+ [ 06 ] : about_Classes_Methods.md
844+ [ 07 ] : about_Classes_Methods.md#hidden-methods
845+ [ 08 ] : about_Classes_Methods.md#static-methods
846+ [ 09 ] : about_Classes_Properties.md
847+ [ 10 ] : about_Classes_Properties.md#hidden-properties
848+ [ 11 ] : about_Classes_Properties.md#static-properties
849+ [ 12 ] : about_Enum.md
850+ [ 13 ] : about_Hidden.md
851+ [ 14 ] : about_language_keywords.md
852+ [ 15 ] : about_methods.md
853+ [ 16 ] : about_Using.md
854+ [ 17 ] : xref:System.Management.Automation.PSReference
0 commit comments