DbParameterCollection 클래스
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
에 관련된 매개 변수 컬렉션의 기본 클래스입니다 DbCommand.
public ref class DbParameterCollection abstract : System::Collections::IList
public ref class DbParameterCollection abstract : MarshalByRefObject, System::Collections::IList, System::Data::IDataParameterCollection
public ref class DbParameterCollection abstract : MarshalByRefObject, System::Data::IDataParameterCollection
public abstract class DbParameterCollection : System.Collections.IList
public abstract class DbParameterCollection : MarshalByRefObject, System.Collections.IList, System.Data.IDataParameterCollection
public abstract class DbParameterCollection : MarshalByRefObject, System.Data.IDataParameterCollection
type DbParameterCollection = class
interface ICollection
interface IEnumerable
interface IList
type DbParameterCollection = class
inherit MarshalByRefObject
interface IDataParameterCollection
interface IList
interface ICollection
interface IEnumerable
type DbParameterCollection = class
inherit MarshalByRefObject
interface ICollection
interface IEnumerable
interface IList
interface IDataParameterCollection
Public MustInherit Class DbParameterCollection
Implements IList
Public MustInherit Class DbParameterCollection
Inherits MarshalByRefObject
Implements IDataParameterCollection, IList
Public MustInherit Class DbParameterCollection
Inherits MarshalByRefObject
Implements IDataParameterCollection
- 상속
-
DbParameterCollection
- 상속
- 파생
- 구현
생성자
| Name | Description |
|---|---|
| DbParameterCollection() |
DbParameterCollection 클래스의 새 인스턴스를 초기화합니다. |
속성
| Name | Description |
|---|---|
| Count |
컬렉션의 항목 수를 지정합니다. |
| IsFixedSize |
컬렉션이 고정 크기인지 여부를 지정합니다. |
| IsReadOnly |
컬렉션이 읽기 전용인지 여부를 지정합니다. |
| IsSynchronized |
컬렉션이 동기화되는지 여부를 지정합니다. |
| Item[Int32] |
지정된 인덱스에서 DbParameter 값을 가져오거나 설정합니다. |
| Item[String] |
지정된 이름을 가진 DbParameter 값을 가져오거나 설정합니다. |
| SyncRoot |
컬렉션에 Object 대한 액세스를 동기화하는 데 사용할 값을 지정합니다. |
메서드
| Name | Description |
|---|---|
| Add(Object) |
지정된 DbParameter 개체를 .에 DbParameterCollection추가합니다. |
| AddRange(Array) |
지정된 값을 DbParameterCollection가진 항목 배열을 에 추가합니다. |
| Clear() |
에서 모든 DbParameter 값을 DbParameterCollection제거합니다. |
| Contains(Object) |
지정된 Value 항목이 DbParameter 컬렉션에 포함되어 있는지 여부를 나타냅니다. |
| Contains(String) |
지정된 이름의 이름이 컬렉션에 있는지 여부를 DbParameter 나타냅니다. |
| CopyTo(Array, Int32) |
지정된 인덱스에서 시작하여 컬렉션에 항목 배열을 복사합니다. |
| CreateObjRef(Type) |
원격 개체와 통신하는 데 사용되는 프록시를 생성하는 데 필요한 모든 관련 정보를 포함하는 개체를 만듭니다. (다음에서 상속됨 MarshalByRefObject) |
| Equals(Object) |
지정한 개체와 현재 개체가 같은지 여부를 확인합니다. (다음에서 상속됨 Object) |
| GetEnumerator() |
.NET 데이터 공급자의 컬렉션에 대한 간단한 반복을 지원하는 GetEnumerator() 메서드를 노출합니다. |
| GetHashCode() |
기본 해시 함수로 작동합니다. (다음에서 상속됨 Object) |
| GetLifetimeService() |
이 인스턴스의 수명 정책을 제어하는 현재 수명 서비스 개체를 검색합니다. (다음에서 상속됨 MarshalByRefObject) |
| GetParameter(Int32) |
컬렉션의 DbParameter 지정된 인덱스에서 개체를 반환합니다. |
| GetParameter(String) |
지정된 이름을 가진 개체를 반환 DbParameter 합니다. |
| GetType() |
현재 인스턴스의 Type 가져옵니다. (다음에서 상속됨 Object) |
| IndexOf(Object) |
지정 DbParameter 한 개체의 인덱스 값을 반환합니다. |
| IndexOf(String) |
지정한 이름을 가진 개체의 DbParameter 인덱스입니다. |
| InitializeLifetimeService() |
이 인스턴스의 수명 정책을 제어하는 수명 서비스 개체를 가져옵니다. (다음에서 상속됨 MarshalByRefObject) |
| Insert(Int32, Object) |
지정한 이름을 가진 개체의 DbParameter 지정된 인덱스를 컬렉션의 지정된 인덱스에 삽입합니다. |
| MemberwiseClone() |
현재 Object단순 복사본을 만듭니다. (다음에서 상속됨 Object) |
| MemberwiseClone(Boolean) |
현재 MarshalByRefObject 개체의 단순 복사본을 만듭니다. (다음에서 상속됨 MarshalByRefObject) |
| Remove(Object) |
컬렉션에서 지정된 DbParameter 개체를 제거합니다. |
| RemoveAt(Int32) |
컬렉션에서 DbParameter 지정된 개체를 제거합니다. |
| RemoveAt(String) |
컬렉션에서 DbParameter 지정된 이름의 개체를 제거합니다. |
| SetParameter(Int32, DbParameter) |
지정된 인덱스에서 DbParameter 개체를 새 값으로 설정합니다. |
| SetParameter(String, DbParameter) |
DbParameter 지정된 이름의 개체를 새 값으로 설정합니다. |
| ToString() |
현재 개체를 나타내는 문자열을 반환합니다. (다음에서 상속됨 Object) |
명시적 인터페이스 구현
| Name | Description |
|---|---|
| ICollection.IsSynchronized |
ICollection 대한 액세스가 동기화되는지 여부를 나타내는 값을 가져옵니다(스레드로부터 안전). |
| IDataParameterCollection.Item[String] |
지정된 인덱스에서 매개 변수를 가져오거나 설정합니다. |
| IList.IsFixedSize |
고정 크기가 있는지 여부를 IList 나타내는 값을 가져옵니다. |
| IList.IsReadOnly |
IList 읽기 전용인지 여부를 나타내는 값을 가져옵니다. |
| IList.Item[Int32] |
지정된 인덱스에서 요소를 가져오거나 설정합니다. |
확장명 메서드
| Name | Description |
|---|---|
| AsParallel(IEnumerable) |
쿼리의 병렬 처리를 사용하도록 설정합니다. |
| AsQueryable(IEnumerable) |
IEnumerable IQueryable변환합니다. |
| Cast<TResult>(IEnumerable) |
IEnumerable 요소를 지정된 형식으로 캐스팅합니다. |
| OfType<TResult>(IEnumerable) |
지정된 형식에 따라 IEnumerable 요소를 필터링합니다. |