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