Last active
April 29, 2016 15:42
-
-
Save coramuirgen/ba7de048cf28de5e326734ece585ed19 to your computer and use it in GitHub Desktop.
Args Syntax
This file contains hidden or 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
'| file dialog's file filter data | |
' mask , name, index | |
' *.* , All , 1 | |
' *.txt, Text, 2 | |
' etc... | |
' method 1: row-based | |
' named columns: | |
Args.WithNames(mask, name, index).AddRecord(*.*, All, 1).AddRecord(*.txt, Text, 2).Records | |
' unnamed columns: | |
Args.AddRecord(*.*, All, 1).AddRecord(*.txt, Text, 2).Records | |
' method 2: column-based | |
' named columns: | |
Args.WithName(mask).AddSet(*.*, *.txt).WithName(name).AddSet(All, Text).WithName(index).AddSet(1, 2).Records | |
' unnamed columns: | |
Args.AddSet(*.*, *.txt).AddSet(All, Text).AddSet(1, 2).Records |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment