다음을 통해 공유


ShapeField.AssociateValueWith 메서드 (Store, Guid, AssociatedPropertyInfo)

셰이프 필드를 셰이프 요소에 할당된 도메인 속성과 연결합니다.

네임스페이스:  Microsoft.VisualStudio.Modeling.Diagrams
어셈블리:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0(Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.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 네임스페이스