DirectoryAttributeModificationCollection.AddRange 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
将指定的对象添加到当前集合。
重载
AddRange(DirectoryAttributeModification[])
- Source:
- DirectoryAttribute.cs
- Source:
- DirectoryAttribute.cs
- Source:
- DirectoryAttribute.cs
public:
void AddRange(cli::array <System::DirectoryServices::Protocols::DirectoryAttributeModification ^> ^ attributes);
public void AddRange (System.DirectoryServices.Protocols.DirectoryAttributeModification[] attributes);
member this.AddRange : System.DirectoryServices.Protocols.DirectoryAttributeModification[] -> unit
Public Sub AddRange (attributes As DirectoryAttributeModification())
参数
- attributes
- DirectoryAttributeModification[]
要添加到集合中的 DirectoryAttributeModification 对象的数组。
例外
attributes
为空引用(在 Visual Basic 中为 Nothing
)。
attributes
的一个成员为 null 引用(在 Visual Basic 中为 Nothing
)。
适用于
AddRange(DirectoryAttributeModificationCollection)
- Source:
- DirectoryAttribute.cs
- Source:
- DirectoryAttribute.cs
- Source:
- DirectoryAttribute.cs
public:
void AddRange(System::DirectoryServices::Protocols::DirectoryAttributeModificationCollection ^ attributeCollection);
public void AddRange (System.DirectoryServices.Protocols.DirectoryAttributeModificationCollection attributeCollection);
member this.AddRange : System.DirectoryServices.Protocols.DirectoryAttributeModificationCollection -> unit
Public Sub AddRange (attributeCollection As DirectoryAttributeModificationCollection)
参数
- attributeCollection
- DirectoryAttributeModificationCollection
要添加到该集合的 DirectoryAttributeModificationCollection 集合。
例外
attributeCollection
为空引用(在 Visual Basic 中为 Nothing
)。