ApplicationTrustCollection.AddRange 메서드

정의

ApplicationTrust 개체의 범위를 컬렉션의 끝에 복사합니다.

오버로드

AddRange(ApplicationTrust[])

지정된 ApplicationTrust 배열의 요소를 컬렉션의 끝에 복사합니다.

AddRange(ApplicationTrustCollection)

지정된 ApplicationTrustCollection의 요소를 컬렉션의 끝에 복사합니다.

AddRange(ApplicationTrust[])

지정된 ApplicationTrust 배열의 요소를 컬렉션의 끝에 복사합니다.

public:
 void AddRange(cli::array <System::Security::Policy::ApplicationTrust ^> ^ trusts);
public void AddRange (System.Security.Policy.ApplicationTrust[] trusts);
[System.Security.SecurityCritical]
public void AddRange (System.Security.Policy.ApplicationTrust[] trusts);
member this.AddRange : System.Security.Policy.ApplicationTrust[] -> unit
[<System.Security.SecurityCritical>]
member this.AddRange : System.Security.Policy.ApplicationTrust[] -> unit
Public Sub AddRange (trusts As ApplicationTrust())

매개 변수

trusts
ApplicationTrust[]

컬렉션에 추가할 개체를 포함하는 ApplicationTrust 형식의 배열입니다.

특성

예외

trusts이(가) null인 경우

trust에 지정된 ApplicationIdentityApplicationTrust 속성이 null인 경우

설명

ApplicationTrust 배열에 trusts 포함된 개체는 컬렉션의 끝에 추가됩니다.

이전에 추가한 애플리케이션 트러스트 범위를 제거 하려면 사용 된 RemoveRange 메서드.

적용 대상

AddRange(ApplicationTrustCollection)

지정된 ApplicationTrustCollection의 요소를 컬렉션의 끝에 복사합니다.

public:
 void AddRange(System::Security::Policy::ApplicationTrustCollection ^ trusts);
public void AddRange (System.Security.Policy.ApplicationTrustCollection trusts);
[System.Security.SecurityCritical]
public void AddRange (System.Security.Policy.ApplicationTrustCollection trusts);
member this.AddRange : System.Security.Policy.ApplicationTrustCollection -> unit
[<System.Security.SecurityCritical>]
member this.AddRange : System.Security.Policy.ApplicationTrustCollection -> unit
Public Sub AddRange (trusts As ApplicationTrustCollection)

매개 변수

trusts
ApplicationTrustCollection

컬렉션에 추가할 개체를 포함하는 ApplicationTrustCollection입니다.

특성

예외

trusts이(가) null인 경우

trust에 지정된 ApplicationIdentityApplicationTrust 속성이 null인 경우

설명

포함된 trusts 개체는 ApplicationTrust 컬렉션의 끝에 추가됩니다.

사용할 수는 AddRange 신속 하 게 다른 컬렉션을 추가할 애플리케이션 트러스트 개체의 컬렉션을 사용 하 여 컬렉션에 각 애플리케이션 트러스트를 수동으로 추가 하는 대신에 메서드를 Add 메서드.

이전에 추가한 애플리케이션 트러스트 범위를 제거 하려면 사용 된 RemoveRange 메서드.

적용 대상