共用方式為


IsolatedWindowsEnvironmentFile.IsReadOnly 屬性

定義

已取代。 取得檔案的寫入許可權。

public:
 property bool IsReadOnly { bool get(); };
bool IsReadOnly();
/// [get: Windows.Foundation.Metadata.Deprecated("IsolatedWindowsEnvironmentFile is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 327680, "Windows.Security.Isolation.IsolatedWindowsEnvironmentContract")]
bool IsReadOnly();
public bool IsReadOnly { get; }
public bool IsReadOnly { [Windows.Foundation.Metadata.Deprecated("IsolatedWindowsEnvironmentFile is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 327680, "Windows.Security.Isolation.IsolatedWindowsEnvironmentContract")] get; }
var boolean = isolatedWindowsEnvironmentFile.isReadOnly;
Public ReadOnly Property IsReadOnly As Boolean

屬性值

Boolean

bool

唯讀值的Bool。

屬性

Windows 需求

裝置系列
Windows 10, version 2104 (已於 10.0.20348.0 引進)
API contract
Windows.Security.Isolation.IsolatedWindowsEnvironmentContract (已於 v3.0 引進)

備註

警告

這是已被取代的 API。

適用於