<SuppressMessageAttribute(Category="Microsoft.Naming", CheckId="CA1725:ParameterNamesShouldMatchBaseDeclaration", Scope="", Target="", MessageId="0#", Justification="")> Public Function Add( _ ByVal item As Object _ ) As Integer
Dim instance As ComboBoxCell.ObjectCollection Dim item As Object Dim value As Integer value = instance.Add(item)
[SuppressMessage(Category="Microsoft.Naming", CheckId="CA1725:ParameterNamesShouldMatchBaseDeclaration", Scope="", Target="", MessageId="0#", Justification="")] public int Add( object item )
Exception | Description |
---|---|
System.ArgumentNullException | The item is a null reference (Nothing in Visual Basic). |
System.ArgumentException | The cell's ListCell.DataSource property value is not a null reference (Nothing in Visual Basic). |
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2