다음을 통해 공유


WebTestRequestHeaderCollection 클래스

웹 성능 테스트 요청 헤더에 대한 serialize할 수 있는 강력한 형식의 컨테이너입니다.

상속 계층 구조

Object
  Collection<WebTestRequestHeader>
    Microsoft.VisualStudio.TestTools.WebTesting.WebTestBaseCollection<WebTestRequestHeader>
      Microsoft.VisualStudio.TestTools.WebTesting.WebTestRequestHeaderCollection

네임스페이스:  Microsoft.VisualStudio.TestTools.WebTesting
어셈블리:  Microsoft.VisualStudio.QualityTools.WebTestFramework(Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)

구문

‘선언
<SerializableAttribute> _
Public Class WebTestRequestHeaderCollection _
    Inherits WebTestBaseCollection(Of WebTestRequestHeader)
[SerializableAttribute]
public class WebTestRequestHeaderCollection : WebTestBaseCollection<WebTestRequestHeader>
[SerializableAttribute]
public ref class WebTestRequestHeaderCollection : public WebTestBaseCollection<WebTestRequestHeader^>
[<SerializableAttribute>]
type WebTestRequestHeaderCollection =  
    class 
        inherit WebTestBaseCollection<WebTestRequestHeader>
    end
public class WebTestRequestHeaderCollection extends WebTestBaseCollection<WebTestRequestHeader>

WebTestRequestHeaderCollection 형식에서는 다음과 같은 멤버를 노출합니다.

생성자

  이름 설명
Public 메서드 WebTestRequestHeaderCollection WebTestRequestHeaderCollection 클래스의 새 인스턴스를 초기화합니다.

위쪽

속성

  이름 설명
Public 속성 Count Collection에 실제로 포함된 요소의 수를 가져옵니다. (Collection<WebTestRequestHeader>에서 상속됨)
Public 속성 Item 지정된 인덱스에 있는 요소를 가져오거나 설정합니다. (Collection<WebTestRequestHeader>에서 상속됨)
Protected 속성 Items Collection을 둘러싸는 IList 래퍼를 가져옵니다. (Collection<WebTestRequestHeader>에서 상속됨)

위쪽

메서드

  이름 설명
Public 메서드 Add(UTP) 개체를 Collection의 끝 부분에 추가합니다. (Collection<WebTestRequestHeader>에서 상속됨)
Public 메서드 Add(String, String) 매개 변수 이름과 값으로 만든 WebTestRequestHeaderCollection을 추가합니다.
Public 메서드 AddRange 지정된 컬렉션의 요소를 WebTestBaseCollection<T>의 끝에 추가합니다. (WebTestBaseCollection<T>에서 상속됨)
Public 메서드 Clear Collection에서 요소를 모두 제거합니다. (Collection<WebTestRequestHeader>에서 상속됨)
Protected 메서드 ClearItems Collection에서 요소를 모두 제거합니다. (Collection<WebTestRequestHeader>에서 상속됨)
Public 메서드 Contains(String) WebTestRequestHeader 가 이 컬렉션에서 발생하는지 여부를 나타내는 값을 반환합니다.
Public 메서드 Contains(UTP) 요소가 Collection에 있는지 여부를 확인합니다. (Collection<WebTestRequestHeader>에서 상속됨)
Public 메서드 CopyTo 대상 배열의 지정된 인덱스에서 시작하여 전체 Collection를 호환되는 1차원 Array에 복사합니다. (Collection<WebTestRequestHeader>에서 상속됨)
Public 메서드 Equals 지정한 개체와 현재 개체가 같은지를 확인합니다. (Object에서 상속됨)
Protected 메서드 Finalize 가비지 수집기가 회수하기 전에 개체가 리소스를 해제하고 다른 정리 작업을 수행할 수 있게 합니다. (Object에서 상속됨)
Public 메서드 GetEnumerator Collection을 반복하는 열거자를 반환합니다. (Collection<WebTestRequestHeader>에서 상속됨)
Public 메서드 GetHashCode 기본 해시 함수로 작동합니다. (Object에서 상속됨)
Public 메서드 GetType 현재 인스턴스의 Type을 가져옵니다. (Object에서 상속됨)
Public 메서드 IndexOf 지정한 개체를 검색하고, 전체 Collection에서 이 개체가 처음 나타나는 인덱스(0부터 시작)를 반환합니다. (Collection<WebTestRequestHeader>에서 상속됨)
Public 메서드 Insert Collection의 지정된 인덱스에 요소를 삽입합니다. (Collection<WebTestRequestHeader>에서 상속됨)
Protected 메서드 InsertItem Collection의 지정된 인덱스에 요소를 삽입합니다. (Collection<WebTestRequestHeader>에서 상속됨)
Protected 메서드 MemberwiseClone 현재 Object의 부분 복사본을 만듭니다. (Object에서 상속됨)
Public 메서드 Remove(String) 지정된 이름의 헤더 중 첫 번째 항목을 제거합니다.
Public 메서드 Remove(UTP) Collection에서 맨 처음 발견되는 특정 개체를 제거합니다. (Collection<WebTestRequestHeader>에서 상속됨)
Public 메서드 RemoveAt Collection의 지정한 인덱스에서 요소를 제거합니다. (Collection<WebTestRequestHeader>에서 상속됨)
Protected 메서드 RemoveItem Collection의 지정한 인덱스에서 요소를 제거합니다. (Collection<WebTestRequestHeader>에서 상속됨)
Protected 메서드 SetItem 지정된 인덱스에 있는 요소를 바꿉니다. (Collection<WebTestRequestHeader>에서 상속됨)
Public 메서드 ToString 현재 개체를 나타내는 문자열을 반환합니다. (Object에서 상속됨)

위쪽

명시적 인터페이스 구현

  이름 설명
명시적 인터페이스 구현Private 메서드 System#Collections#IList#Add IList에 항목을 추가합니다. (Collection<WebTestRequestHeader>에서 상속됨)
명시적 인터페이스 구현Private 메서드 System#Collections#IList#Contains IList에 특정 값이 들어 있는지 여부를 확인합니다. (Collection<WebTestRequestHeader>에서 상속됨)
명시적 인터페이스 구현Private 메서드 System#Collections#ICollection#CopyTo 특정 Array 인덱스에서 시작하여 ICollection의 요소를 Array에 복사합니다. (Collection<WebTestRequestHeader>에서 상속됨)
명시적 인터페이스 구현Private 메서드 System#Collections#IEnumerable#GetEnumerator 컬렉션을 반복하는 열거자를 반환합니다. (Collection<WebTestRequestHeader>에서 상속됨)
명시적 인터페이스 구현Private 메서드 System#Collections#IList#IndexOf IList에서 특정 항목의 인덱스를 확인합니다. (Collection<WebTestRequestHeader>에서 상속됨)
명시적 인터페이스 구현Private 메서드 System#Collections#IList#Insert 항목을 IList의 지정한 인덱스에 삽입합니다. (Collection<WebTestRequestHeader>에서 상속됨)
명시적 인터페이스 구현Private 속성 System#Collections#IList#IsFixedSize IList의 크기가 고정되어 있는지 여부를 나타내는 값을 가져옵니다. (Collection<WebTestRequestHeader>에서 상속됨)
명시적 인터페이스 구현Private 속성 System#Collections#Generic#ICollection{T}#IsReadOnly ICollection이 읽기 전용인지 여부를 나타내는 값을 가져옵니다. (Collection<WebTestRequestHeader>에서 상속됨)
명시적 인터페이스 구현Private 속성 System#Collections#IList#IsReadOnly IList가 읽기 전용인지 여부를 나타내는 값을 가져옵니다. (Collection<WebTestRequestHeader>에서 상속됨)
명시적 인터페이스 구현Private 속성 System#Collections#ICollection#IsSynchronized ICollection에 대한 액세스가 동기화되어 스레드로부터 안전하게 보호되는지 여부를 나타내는 값을 가져옵니다. (Collection<WebTestRequestHeader>에서 상속됨)
명시적 인터페이스 구현Private 속성 System#Collections#IList#Item 지정된 인덱스에 있는 요소를 가져오거나 설정합니다. (Collection<WebTestRequestHeader>에서 상속됨)
명시적 인터페이스 구현Private 메서드 System#Collections#IList#Remove IList에서 맨 처음 발견되는 특정 개체를 제거합니다. (Collection<WebTestRequestHeader>에서 상속됨)
명시적 인터페이스 구현Private 속성 System#Collections#ICollection#SyncRoot ICollection에 대한 액세스를 동기화하는 데 사용할 수 있는 개체를 가져옵니다. (Collection<WebTestRequestHeader>에서 상속됨)

위쪽

스레드로부터의 안전성

이 형식의 모든 공용 static(Visual Basic의 경우 Shared) 멤버는 스레드로부터 안전합니다. 인터페이스 멤버는 스레드로부터 안전하지 않습니다.

참고 항목

참조

Microsoft.VisualStudio.TestTools.WebTesting 네임스페이스

기타 리소스

Working with Web Tests