net10.0
namespace System.Management
{
    public class RelatedObjectQuery : WqlObjectQuery
    {
        public string RelationshipClass { get; set; }
    }
}
.NET
8.09.010.0
.NET Framework
2.03.54.04.54.5.14.5.24.64.6.14.6.24.74.7.14.7.24.84.8.1
Information specific to net10.0
Assembly

System.Management , Version=10.0.0.1, PublicKeyToken=b03f5f7f11d50a3a

Referencing

Your project needs a package reference to System.Management.

Package System.Management (10.0.1) net10.0
Platform Restrictions

The property getter is only supported on the following platforms:

  • Windows

The property setter is only supported on the following platforms:

  • Windows
  • Built-in API
  • Package-provided API