Teacher Send comments on this topic.
Item Property
See Also 
Teacher Namespace > StudentTable Class : Item Property




key

Syntax

Visual Basic (Declaration) 
Public Default Property Item( _
   ByVal key As String _
) As StudentRecord
Visual Basic (Usage)Copy Code
Dim instance As StudentTable
Dim key As String
Dim value As StudentRecord
 
instance.Item(key) = value
 
value = instance.Item(key)
C# 
public StudentRecord this[ 
   string key
]; {get; set;}
Managed Extensions for C++ 
public: __property StudentRecord* get_Item( 
   string* key
);
public: __property void set_Item( 
   string* key,
   StudentRecord* value
);
C++/CLI 
public:
property StudentRecord^ default [String^] {
   StudentRecord^ get(String^ key);
   void set (String^ keyStudentRecord^ value);
}

Parameters

key

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2008 All Rights Reserved.