Constants.vbNormal 欄位
指出在呼叫檔案存取函式時所要使用的檔案屬性 (Attribute)。
命名空間: Microsoft.VisualBasic
組件: Microsoft.VisualBasic (在 microsoft.visualbasic.dll 中)
語法
'宣告
Public Const vbNormal As FileAttribute
'用途
Dim value As FileAttribute
value = Constants.vbNormal
public const FileAttribute vbNormal
public:
literal FileAttribute vbNormal
public static final FileAttribute vbNormal
public const var vbNormal : FileAttribute
備註
如需詳細資訊,請參閱 Visual Basic 的主題 FileAttribute 列舉型別。
當您呼叫 Dir、GetAttr 或 SetAttr 函式時,您可以在程式碼中使用 FileAttribute 列舉型別來取代實際值。
Attributes 引數採用 FileAttribute 列舉型別成員。
執行檔案 I/O 運算時,My.Computer.FileSystem 物件會提供比舊版檔案 I/O 方法更高的效能,而且也更容易使用。如需詳細資訊,請參閱 My.Computer.FileSystem 物件。
平台
Windows 98、 Windows 2000 SP4、 Windows CE、 Windows Millennium Edition、 Windows Mobile for Pocket PC、 Windows Mobile for Smartphone、 Windows Server 2003、 Windows XP Media Center Edition、 Windows XP Professional x64 Edition、 Windows XP SP2、 Windows XP Starter Edition
.NET Framework 並不支援各種平台的所有版本。如需支援平台版本的相關資訊,請參閱系統需求一節的內容。
版本資訊
.NET Framework
支援版本:2.0、1.1、1.0
.NET Compact Framework
支援版本:2.0
請參閱
參考
Constants 類別
Constants 成員
Microsoft.VisualBasic 命名空間
其他資源
FileAttribute 列舉型別
內建常數和列舉型別
Dir 函式
GetAttr 函式
SetAttr 函式
何時使用列舉型別
HOW TO:參考列舉型別成員