This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static void main(String[] args) { | |
String eOne = "h"; | |
var v = switch (eOne) { | |
case "" -> "EMPTY"; | |
case null -> "NULL"; | |
case String s && !s.isEmpty() -> "NOT_EMPTY"; | |
case String s && s.length() == 5 -> "5"; | |
case String s && s.equals("a") -> "A"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Attribute VB_Name = "Module2" | |
Option Explicit | |
'リストオブジェクトの作成(正確にはすでにあるリストオブジェクトにチェックボックスを追加する) | |
'addメソッドを使用することでより動的にリストを作成できる | |
Private Const Numbering_Column As Integer = 1 | |
Private Const Name_Column As Integer = 2 | |
Private Const Flg_Column As Integer = 3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sub createList() | |
Dim list As ListObject | |
Dim lRows As ListRows | |
Dim lRow As listRow | |
' Dim coll As New Collection | |
MyDeleteeCheckBox | |
'coll.Add (1) |