共用方式為


LocalizedString.Implicit(LocalizedString to String) 運算子

定義

LocalizedString 隱含轉換為 String

public:
 static operator System::String ^(Microsoft::Extensions::Localization::LocalizedString ^ localizedString);
public static implicit operator string? (Microsoft.Extensions.Localization.LocalizedString localizedString);
static member op_Implicit : Microsoft.Extensions.Localization.LocalizedString -> string
Public Shared Widening Operator CType (localizedString As LocalizedString) As String

參數

localizedString
LocalizedString

要隱含轉換的字串。

傳回

適用於