ICustomPropertyProvider.GetStringRepresentation 方法

定義

根據實作支援 System.Object的假設,提供 「GetStringFromObject」 和/或 「ToString」 邏輯的支援。 此功能或服務可能會存取此邏輯,例如根據資料內容產生使用者介面自動化值。

public:
 Platform::String ^ GetStringRepresentation();
winrt::hstring GetStringRepresentation();
public string GetStringRepresentation();
function getStringRepresentation()
Public Function GetStringRepresentation () As String

傳回

String

Platform::String

winrt::hstring

提供的字串。

適用於