共用方式為


IsolatedWindowsEnvironmentShareFileRequestOptions.AllowWrite 屬性

定義

已取代。 判斷在隔離 Windows 環境內執行的應用程式是否可以將數據寫入共用的這個檔案/資料夾。

public:
 property bool AllowWrite { bool get(); void set(bool value); };
bool AllowWrite();

void AllowWrite(bool value);
/// [get: Windows.Foundation.Metadata.Deprecated("IsolatedWindowsEnvironmentShareFileRequestOptions is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 327680, "Windows.Security.Isolation.IsolatedWindowsEnvironmentContract")]
/// [set: Windows.Foundation.Metadata.Deprecated("IsolatedWindowsEnvironmentShareFileRequestOptions 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 AllowWrite();

void AllowWrite(bool value);
public bool AllowWrite { get; set; }
public bool AllowWrite { [Windows.Foundation.Metadata.Deprecated("IsolatedWindowsEnvironmentShareFileRequestOptions 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; [Windows.Foundation.Metadata.Deprecated("IsolatedWindowsEnvironmentShareFileRequestOptions is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 327680, "Windows.Security.Isolation.IsolatedWindowsEnvironmentContract")] set; }
var boolean = isolatedWindowsEnvironmentShareFileRequestOptions.allowWrite;
isolatedWindowsEnvironmentShareFileRequestOptions.allowWrite = boolean;
Public Property AllowWrite As Boolean

屬性值

Boolean

bool

Boolean

屬性

備註

警告

這是已被取代的 API。

適用於