TypeConverter.Format 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
Format(Type, Boolean) |
格式化提供的型別。 |
Format(Type, Func<TypeSpec,TypeSpec>, Boolean) |
格式化提供的型別,使用提供的委派重寫專案。 |
Format(Type, Boolean)
Format(Type, Func<TypeSpec,TypeSpec>, Boolean)
格式化提供的型別,使用提供的委派重寫專案。
public string Format (Type type, Func<Orleans.Serialization.TypeSystem.TypeSpec,Orleans.Serialization.TypeSystem.TypeSpec> rewriter, bool allowAllTypes = false);
member this.Format : Type * Func<Orleans.Serialization.TypeSystem.TypeSpec, Orleans.Serialization.TypeSystem.TypeSpec> * bool -> string
Public Function Format (type As Type, rewriter As Func(Of TypeSpec, TypeSpec), Optional allowAllTypes As Boolean = false) As String
參數
- type
- Type
類型。
- allowAllTypes
- Boolean
是否允許所有類型。
傳回
格式化的類型名稱。