forked from lee-soft/ViStart
-
Notifications
You must be signed in to change notification settings - Fork 0
/
FileVersionInfo.cls
65 lines (48 loc) · 1.87 KB
/
FileVersionInfo.cls
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
VERSION 1.0 CLASS
BEGIN
MultiUse = -1 'True
Persistable = 0 'NotPersistable
DataBindingBehavior = 0 'vbNone
DataSourceBehavior = 0 'vbNone
MTSTransactionMode = 0 'NotAnMTSObject
END
Attribute VB_Name = "FileVersionInfo"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = True
Attribute VB_PredeclaredId = False
Attribute VB_Exposed = False
Option Explicit
'local variable(s) to hold property value(s)
Private mvarProductBuildPart As Long 'local copy
Private mvarProductMajorPart As Long 'local copy
Private mvarProductMinorPart As Long 'local copy
Public Property Let ProductMinorPart(ByVal vData As Long)
'used when assigning a value to the property, on the left side of an assignment.
'Syntax: X.ProductMinorPart = 5
mvarProductMinorPart = vData
End Property
Public Property Get ProductMinorPart() As Long
'used when retrieving value of a property, on the right side of an assignment.
'Syntax: Debug.Print X.ProductMinorPart
ProductMinorPart = mvarProductMinorPart
End Property
Public Property Let ProductMajorPart(ByVal vData As Long)
'used when assigning a value to the property, on the left side of an assignment.
'Syntax: X.ProductMajorPart = 5
mvarProductMajorPart = vData
End Property
Public Property Get ProductMajorPart() As Long
'used when retrieving value of a property, on the right side of an assignment.
'Syntax: Debug.Print X.ProductMajorPart
ProductMajorPart = mvarProductMajorPart
End Property
Public Property Let ProductBuildPart(ByVal vData As Long)
'used when assigning a value to the property, on the left side of an assignment.
'Syntax: X.ProductBuildPart = 5
mvarProductBuildPart = vData
End Property
Public Property Get ProductBuildPart() As Long
'used when retrieving value of a property, on the right side of an assignment.
'Syntax: Debug.Print X.ProductBuildPart
ProductBuildPart = mvarProductBuildPart
End Property