Delen via


PSObjectTypeDescriptor.GetComponentName Method

Definition

Returns the name of this object.

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

Returns

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

Applies to