Message 1 of 6
FeatureClassProperty Split string
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi
I am try with this sample to split the string but nothing happened still get it in one line not the string I need
someone who can tell me what is wrong with this Please
Dim cls_manager As Autodesk.Gis.Map.Classification.ClassificationManager = Nothing
cls_manager = Autodesk.Gis.Map.HostMapApplicationServices.Application.ActiveProject.ClassificationManager
Dim objClass_Property As FeatureClassPropertyCollection = New FeatureClassPropertyCollection()
Dim list_values As System.Collections.ArrayList = Nothing
cls_manager.GetProperties(objClass_Property,list_values, objId)
Dim Class_Property As FeatureClassProperty = Nothing
For Each Class_Property In objClass_Property
Dim propName As System.String = Class_Property.Name
Dim propValue As String = Class_Property.DefaultValue.ToString
Dim str As String = propValue
Dim strArr() As String
Dim count As Integer = 0
Dim strArrLength As Integer = 0
strArr = str.Split(" ")
strArrLength = strArr.Length
For count = 0 To strArrLength - 1
Utility.ShowMsg(vbNewLine & strArr(0))
Next
Next