컬렉션에 새로운 열을 추가합니다.
Namespace: Ntreev.Windows.Forms.GridAssembly: Ntreev.Windows.Forms.Grid (in Ntreev.Windows.Forms.Grid.dll) Version: 1.0.4216.32284
Syntax
| C# |
|---|
public virtual void Add( Row item ) |
| Visual Basic |
|---|
Public Overridable Sub Add ( _ item As Row _ ) |
| Visual C++ |
|---|
public: virtual void Add( Row^ item ) |
Parameters
- item
- Type: Ntreev.Windows.Forms.Grid..::..Row
[Missing <param name="item"/> documentation for "M:Ntreev.Windows.Forms.Grid.RowCollection.Add(Ntreev.Windows.Forms.Grid.Row)"]
Remarks
사용자는 Row형태의 인스턴스를 새로 생성해 추가 하거나, Remove(Row)등의 의해 컬렉션에서 제거된 열을 다시 추가할 수 있습니다.
Exceptions
| Exception | Condition |
|---|---|
| System..::..ArgumentNullException | 매개변수 item의 값이 null일때 |
| System..::..ArgumentException | 추가할 열이 이미 존재하거나, 같은 이름을 가진 열이 컬렉션에 이미 존재하는 경우 |