共用方式為


ITypeConverter.TryFormat(Type, String) 方法

定義

將提供的型別格式化為字串。

public bool TryFormat (Type type, out string formatted);
abstract member TryFormat : Type * string -> bool
Public Function TryFormat (type As Type, ByRef formatted As String) As Boolean

參數

type
Type
formatted
String

傳回

適用於