2012-05-28 2 views

답변

0

어때? this.Element이 ICLASS

의 유형
foreach (IAssociation association in this.Element.GetRelatedLinks<IAssociation>()) 
{ 
    var source = association.SourceElement as IClassifier; 
    var target = association.TargetElement as IClassifier; 

    foreach(var end in association.MemberEnds) 
    { 
     WriteLine("// mapping:" + end.Name + ": " + end.GetBounds()); 
    } 
} 

은 어디에서 적어도 "1"또는 "*"가능한 값으로 문자열을 반환) (도로 getBounds를보고 기억합니다.