PrincipalCollection.CopyTo(Principal[], Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Copies the Principal objects from this PrincipalCollection into the specified array, starting at the specified position index in array.
public:
virtual void CopyTo(cli::array <System::DirectoryServices::AccountManagement::Principal ^> ^ array, int index);
public void CopyTo (System.DirectoryServices.AccountManagement.Principal[] array, int index);
abstract member CopyTo : System.DirectoryServices.AccountManagement.Principal[] * int -> unit
override this.CopyTo : System.DirectoryServices.AccountManagement.Principal[] * int -> unit
Public Sub CopyTo (array As Principal(), index As Integer)
Parameters
- index
- Int32
The position in array
into which the first principal object in the collection should be copied.
Implements
Remarks
array
must be one-dimensional. If it is not, an ArgumentException is thrown. Further exceptions are thrown if the number of elements to copy is greater than the available space from index
to the end of array
, if array
is null
, or if index
is less than 0.
Applies to
.NET
フィードバック
https://aka.ms/ContentUserFeedback」を参照してください。
以下は間もなく提供いたします。2024 年を通じて、コンテンツのフィードバック メカニズムとして GitHub の issue を段階的に廃止し、新しいフィードバック システムに置き換えます。 詳細については、「フィードバックの送信と表示