1
가능한 중복은 :
How to access the object itself in With … End With내가 일하는 "With"항목을 참조 할 수있는 방법이 있습니까?
내가 이런 일을 하시겠습니까 가정하자 : 기본적으로
With grid.Columns("Reviewed")
CType(<the with object>, DataGridViewCheckBoxColumn).ThreeState = False
...
End With
을, 나는에 다음의 동등하고 싶습니다 위 성명서 :
CType(grid.Columns("Reviewed"), DataGridViewCheckBoxColumn).ThreeState = False
"WITH"라는 개체를 참조 할 때 사용할 수있는 키워드가 있습니까?
이 게시물을보십시오. http://stackoverflow.com/questions/1152983/how-to-access-the-object-itself-in-with-end-with – PaShKa