共用方式為


ModelBusAdapterManager.DeserializeAdapterReference 方法 (String, ReferenceContext)

 

嘗試透過參考內容的協助,還原序列化提供的配接器參考。

命名空間:   Microsoft.VisualStudio.Modeling.Integration
組件:  Microsoft.VisualStudio.Modeling.Sdk.Integration.12.0 (在 Microsoft.VisualStudio.Modeling.Sdk.Integration.12.0.dll 中)

語法

protected internal abstract ModelBusAdapterReference DeserializeAdapterReference(
    string serializedReference,
    ReferenceContext context
)
public protected:
virtual ModelBusAdapterReference^ DeserializeAdapterReference(
    String^ serializedReference,
    ReferenceContext^ context
) abstract
abstract DeserializeAdapterReference : 
        serializedReference:string *
        context:ReferenceContext -> ModelBusAdapterReference
Protected Friend MustOverride Function DeserializeAdapterReference (
    serializedReference As String,
    context As ReferenceContext
) As ModelBusAdapterReference

參數

  • serializedReference
    參考的序列化的表單
  • context
    ReferenceContext 或 null。這用來協助解譯已序列化的字串。它會儲存在參考中。

傳回值

Type: Microsoft.VisualStudio.Modeling.Integration.ModelBusAdapterReference

新的 ModelBusAdapterReference 執行個體。

備註

請參閱DeserializeReference

請參閱

ModelBusAdapterManager 類別
Microsoft.VisualStudio.Modeling.Integration 命名空間

回到頁首