Share via


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

布尔

属性

注解

警告

这是一个已弃用的 API。

适用于