Dim SelFeature As IFeature = Nothing Dim Cursor As ICursor = Nothing SelSet.Search(Nothing, True, Cursor) SelFeature = CType(Cursor.NextRow, IFeature)
By default in VB, casting is automatically done for you when you assign objects to variables. The objects are then automatically casted to the variables' type.This behavior can be influenced by an option line on top of your code file:Option Strict On Option Strict OffWhen on, casting is strict and not automatic.
Option Strict On Option Strict Off
サインインしたメンバーは投稿、更新のフォローなどができます。初めてですか?無料アカウントを登録してください。
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.