共用方式為


ModelBus.ValidateReference 方法 (ModelBusReference, ValidateReferenceOption)

 

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

語法

public ReferenceStatus ValidateReference(
    ModelBusReference reference,
    ValidateReferenceOption validationOption
)
public:
virtual ReferenceStatus ValidateReference(
    ModelBusReference^ reference,
    ValidateReferenceOption validationOption
) sealed
abstract ValidateReference : 
        reference:ModelBusReference *
        validationOption:ValidateReferenceOption -> ReferenceStatus
override ValidateReference : 
        reference:ModelBusReference *
        validationOption:ValidateReferenceOption -> ReferenceStatus
Public Function ValidateReference (
    reference As ModelBusReference,
    validationOption As ValidateReferenceOption
) As ReferenceStatus

參數

  • reference
    配接器的參考。
  • validationOption
    ValidateReferenceOptions

傳回值

Type: Microsoft.VisualStudio.Modeling.Integration.ReferenceStatus

參考的狀態

實作

IModelBus.ValidateReference(ModelBusReference, ValidateReferenceOption)

請參閱

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

回到頁首