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