Syntax
Visual Basic (Declaration) | |
---|
Public Property majorNumber As Integer |
Visual Basic (Usage) | Copy Code |
---|
Dim instance As PackageVersion
Dim value As Integer
instance.majorNumber = value
value = instance.majorNumber |
C# | |
---|
public int majorNumber {get; set;} |
Managed Extensions for C++ | |
---|
public: __property int get_majorNumber();
public: __property void set_majorNumber(
int value
); |
C++/CLI | |
---|
public:
property int majorNumber {
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