DirectoryAttributeModificationCollection.Add Метод
Определение
Важно!
Некоторые сведения относятся к предварительной версии продукта, в которую до выпуска могут быть внесены существенные изменения. Майкрософт не предоставляет никаких гарантий, явных или подразумеваемых, относительно приведенных здесь сведений.
Метод Add(DirectoryAttributeModification) добавляет DirectoryAttributeModification объект в коллекцию.
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
Параметры
- attribute
- DirectoryAttributeModification
Добавляемый DirectoryAttributeModification объект.
Возвращаемое значение
Отсчитываемый от нуля индекс в коллекции, в которой DirectoryAttributeModification был добавлен объект.
Исключения
attribute является пустой ссылкой (Nothing в Visual Basic).