Share via


DeviceIdiom.ToString Method

Definition

Returns a string representation of the current device idiom.

public:
 override System::String ^ ToString();
public override string ToString ();
override this.ToString : unit -> string
Public Overrides Function ToString () As String

Returns

A string representation of this instance in the format of {device idiom} or an empty string when no device idiom is set.

Applies to