Imports.Count 속성

컬렉션의 개체 수를 나타내는 값을 가져옵니다. 이 속성은 읽기 전용입니다.

네임스페이스: VSLangProj
어셈블리: VSLangProj(vslangproj.dll)

구문

‘선언
‘사용 방법

속성 값

컬렉션의 개체 수입니다.

예제

' Macro Editor
' This method creates string with a list of all the references
' by index in a References collection.
Imports VSLangProj
Function ListReferences(ByVal refs As References) _
   As String
   Dim i As Integer
   Dim list As String = ""
   For i = 1 To refs.Count
      list &= i.ToString() & " " & refs.Item(i).Identity & " " & _
         ControlChars.CrLf 
   Next
   Return list
End Function

참고 항목

참조

Imports 인터페이스
Imports 멤버
VSLangProj 네임스페이스