ShapeField.AssociateValueWith 方法 (Store, Guid, AssociatedPropertyInfo)

將由 shape 功能變數產生關聯與網域屬性指派給圖形元素。

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

語法

'宣告
Public Sub AssociateValueWith ( _
    store As Store, _
    domainClassId As Guid, _
    propertyInfo As AssociatedPropertyInfo _
)
public void AssociateValueWith(
    Store store,
    Guid domainClassId,
    AssociatedPropertyInfo propertyInfo
)

參數

  • domainClassId
    型別:System.Guid
    指派給圖形元素的 ID。

備註

如果網域屬性設為網域的另一個屬性的代理,您應該使用這個方法。

.NET Framework 安全性

請參閱

參考

ShapeField 類別

AssociateValueWith 多載

Microsoft.VisualStudio.Modeling.Diagrams 命名空間