共用方式為


PSObjectTypeDescriptor.GetClassName Method

Definition

Returns the class name of this object.

public:
 override System::String ^ GetClassName();
public:
 override Platform::String ^ GetClassName();
 override std::wstring GetClassName();
public override string GetClassName ();
override this.GetClassName : unit -> string
Public Overrides Function GetClassName () As String

Returns

The class name of the object, or a null reference (Nothing in Visual Basic) if the class does not have a name.

Applies to