AFElement property to know if this is a 'WEAK' Ref element

Discussion created by ChewCheeLim on Aug 14, 2014
Latest reply on Aug 14, 2014 by ChewCheeLim
Hi there, could someone please tell me from a list of AFElement returned, how do I know (what to check) if a given AFElement is a Weak Reference? Below is the code I used to add weak ref type element. Now I want to know programmatically. There is no exposed public property in AFElement to say IsWeakReference? Possible to provide sample code? Many thanks! --- my code to add weak ref ---- oAfParent.Elements.Add(oAfRefChild, oAf.ReferenceTypes["Weak"]);