次の方法で共有


AccessControlList.Add メソッド

アクセス制御リストにアクセス制御エントリを追加します。

Public Function Add( _
   ByVal entry As AccessControlEntry _) As Integer
[C#]
public int Add(AccessControlEntryentry);
[C++]
public: int Add(AccessControlEntry* entry);
[JScript]
public function Add(
   entry : AccessControlEntry) : int;

パラメータ

戻り値

新しいアクセス制御エントリが挿入された位置。

例外

例外の種類 条件
ArgumentNullException entry パラメータが null 参照 (Visual Basic では Nothing) です。

必要条件

プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ

.NET Framework セキュリティ:

参照

AccessControlList クラス | AccessControlList メンバ | System.Messaging 名前空間 | Insert | Remove