B
Bom
hi,
I have following VB code :
default Public ReadOnly Property Item(ByVal Index As
Integer) As DataColumnHeader
Get
Return CType(list.Item(Index),DataColumnHeader)
End Get
End Property
How can I in C# pass an argument to a property (getter
accessor)?
I started as follows but thats not right.
public DataColumnHeader Item (????)
{
get
{return (DataColumnHeader)this.List.Item[???];}
}
Thanks
Bom
I have following VB code :
default Public ReadOnly Property Item(ByVal Index As
Integer) As DataColumnHeader
Get
Return CType(list.Item(Index),DataColumnHeader)
End Get
End Property
How can I in C# pass an argument to a property (getter
accessor)?
I started as follows but thats not right.
public DataColumnHeader Item (????)
{
get
{return (DataColumnHeader)this.List.Item[???];}
}
Thanks
Bom