T
TJS
C# version is below
================================
namespace LicensedControls {
[
LicenseProvider(typeof(ExpiringLicenseProvider))
]
public class ExpiringLicensedLabel : Label {
public ExpiringLicensedLabel() {
LicenseManager.Validate(typeof(ExpiringLicensedLabel));
}
}
}
my attempt to get vb
=========================
Namespace LicensedControls
<LicenseProvider(GetType(ExpiringLicenseProvider))>
Public Class ExpiringLicensedLabel
Inherits Label
Public Sub New()
LicenseManager.Validate(GetType(ExpiringLicensedLabel))
End Sub
End Class
End Namespace
fails to compile on ">"
================================
namespace LicensedControls {
[
LicenseProvider(typeof(ExpiringLicenseProvider))
]
public class ExpiringLicensedLabel : Label {
public ExpiringLicensedLabel() {
LicenseManager.Validate(typeof(ExpiringLicensedLabel));
}
}
}
my attempt to get vb
=========================
Namespace LicensedControls
<LicenseProvider(GetType(ExpiringLicenseProvider))>
Public Class ExpiringLicensedLabel
Inherits Label
Public Sub New()
LicenseManager.Validate(GetType(ExpiringLicensedLabel))
End Sub
End Class
End Namespace
fails to compile on ">"