Bitmap for UWP
NativeFileMode 列挙体

C1.UWP.DX アセンブリ > C1.Util.DX.Storage 名前空間 : NativeFileMode 列挙体
Native file creation disposition.
シンタックス
'宣言
 
Public Enum NativeFileMode 
   Inherits System.Enum
public enum NativeFileMode : System.Enum 
メンバ
メンバ解説
CreateCreates a new file, always. If a file exists, the function overwrites the file, clears the existing attributes, combines the specified file attributes, and flags with FILE_ATTRIBUTE_ARCHIVE, but does not set the security descriptor that the SECURITY_ATTRIBUTES structure specifies.
CreateNewCreates a new file. The function fails if a specified file exists.
OpenOpens a file. The function fails if the file does not exist.
OpenOrCreateOpens a file, always. If a file does not exist, the function creates a file as if dwCreationDisposition is CREATE_NEW.
TruncateOpens a file and truncates it so that its size is 0 (zero) bytes. The function fails if the file does not exist. The calling process must open the file with the GENERIC_WRITE access right.
継承階層

System.Object
   System.ValueType
      System.Enum
         C1.Util.DX.Storage.NativeFileMode

参照

C1.Util.DX.Storage 名前空間