EBDN - Community - Question & Answers

  Thursday, 17 June 2021
  1 Replies
  754 Visits
0
Votes
Undo
hello everyone!
In VBA, according to the selected project to obtain the typical associated with the project is obtained in this way, how to obtain the typical in C #?
VBA code

Public Function GetAssosation(选中的项目 As Project) As Project
If Not 选中的项目 Is Nothing Then
Dim ass As association
For Each ass In 选中的项目.TargetAssociations.Filter(aucRoleProject2Project)
Set GetAssosation = ass.RelatedObject
Exit Function
Next ass
End If
End Function

Code, online, etc

’在线等……

Thank you, the best reply!