DirectoryAttributeModificationCollection.Add 方法

定义

public:
 int Add(System::DirectoryServices::Protocols::DirectoryAttributeModification ^ attribute);
public int Add (System.DirectoryServices.Protocols.DirectoryAttributeModification attribute);
member this.Add : System.DirectoryServices.Protocols.DirectoryAttributeModification -> int
Public Function Add (attribute As DirectoryAttributeModification) As Integer

参数

返回

集合中 DirectoryAttributeModification 的添加位置处的从零开始的索引。

例外

attribute 为空引用(在 Visual Basic 中为 Nothing)。

适用于