Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ GetFolderPath() [2/2]

static string System.Environment.GetFolderPath ( SpecialFolder folder,
SpecialFolderOption option )
inlinestatic

Definition at line 515 of file Environment.cs.

516 {
517 if (!Enum.IsDefined(typeof(SpecialFolder), folder))
518 {
519 throw new ArgumentOutOfRangeException("folder", folder, SR.Format(SR.Arg_EnumIllegalVal, folder));
520 }
521 if (option != 0 && !Enum.IsDefined(typeof(SpecialFolderOption), option))
522 {
523 throw new ArgumentOutOfRangeException("option", option, SR.Format(SR.Arg_EnumIllegalVal, option));
524 }
525 return GetFolderPathCore(folder, option);
526 }
static string GetFolderPathCore(SpecialFolder folder, SpecialFolderOption option)

References System.SR.Arg_EnumIllegalVal, System.SR.Format(), System.Environment.GetFolderPathCore(), and System.Enum.IsDefined().