Evening, I tried to keep the same idea of you code and do it a VB.net format.
However, I am not getting the result i was looking for.
For example, I want to find the dynamic block property named Visibility1, then find what options are available Visibility1. So under Visiblity1, i could have state1, state2, state3, etc.
The code provided gives me the names of the available dynamic block properties and or what their currect setting is.
' Dynamic Block Type Check for Testing
Dim myDBRPC As DynamicBlockReferencePropertyCollection = myBlkRef.DynamicBlockReferencePropertyCollection
Dim myDBRP As DynamicBlockReferenceProperty
Dim list1 As String = ""
Dim list2 As String = ""
For Each myDBRP In myDBRPC
list1 = list1 + myDBRP.Value.ToString
list2 = list2 + myDBRP.PropertyName.ToString
Next
But I could have done something wrong.
Please let me know when you can.