ComponentRegistration.Add(ComponentRegistration) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
警告
Use resource explorer
新增實作註冊方法的元件。
[System.Obsolete("Use resource explorer")]
public static void Add (Microsoft.Bot.Builder.ComponentRegistration componentRegistration);
[<System.Obsolete("Use resource explorer")>]
static member Add : Microsoft.Bot.Builder.ComponentRegistration -> unit
Public Shared Sub Add (componentRegistration As ComponentRegistration)
參數
- componentRegistration
- ComponentRegistration
componentRegistration。
- 屬性
備註
每個類型只能有一個實例供元件使用。