Syntax
Visual Basic (Declaration) | |
---|
Public Property length As Integer |
Visual Basic (Usage) | Copy Code |
---|
Dim instance As Field
Dim value As Integer
instance.length = value
value = instance.length |
C# | |
---|
public int length {get; set;} |
Managed Extensions for C++ | |
---|
public: __property int get_length();
public: __property void set_length(
int value
); |
C++/CLI | |
---|
public:
property int length {
int get();
void set ( int value);
} |
Requirements
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP, Windows Vista, Windows Server 2003 family
See Also