你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ExtensionMethods.GetValueOrDefault(String, String) Method

Definition

public static string GetValueOrDefault (this string targetValue, string defaultValue);
static member GetValueOrDefault : string * string -> string
<Extension()>
Public Function GetValueOrDefault (targetValue As String, defaultValue As String) As String

Parameters

targetValue
String
defaultValue
String

Returns

Applies to