home *** CD-ROM | disk | FTP | other *** search
Visual Basic class definition | 1998-12-25 | 1.4 KB | 51 lines |
- VERSION 1.0 CLASS
- BEGIN
- MultiUse = -1 'True
- Persistable = 0 'NotPersistable
- DataBindingBehavior = 0 'vbNone
- DataSourceBehavior = 0 'vbNone
- MTSTransactionMode = 0 'NotAnMTSObject
- END
- Attribute VB_Name = "Addressee"
- Attribute VB_GlobalNameSpace = False
- Attribute VB_Creatable = False
- Attribute VB_PredeclaredId = False
- Attribute VB_Exposed = True
- Attribute VB_Ext_KEY = "SavedWithClassBuilder6" ,"Yes"
- Attribute VB_Ext_KEY = "Top_Level" ,"Yes"
- Option Explicit
-
- 'local variable(s) to hold property value(s)
- Private mvarPerson As String 'local copy
- Private mvarEMail As String 'local copy
- Public Property Let EMail(ByVal vData As String)
- 'used when assigning a value to the property, on the left side of an assignment.
- 'Syntax: X.EMail = 5
- mvarEMail = vData
- End Property
-
-
- Public Property Get EMail() As String
- 'used when retrieving value of a property, on the right side of an assignment.
- 'Syntax: Debug.Print X.EMail
- EMail = mvarEMail
- End Property
-
-
-
- Public Property Let Person(ByVal vData As String)
- 'used when assigning a value to the property, on the left side of an assignment.
- 'Syntax: X.Person = 5
- mvarPerson = vData
- End Property
-
-
- Public Property Get Person() As String
- 'used when retrieving value of a property, on the right side of an assignment.
- 'Syntax: Debug.Print X.Person
- Person = mvarPerson
- End Property
-
-
-
-