Z
zsilence_is
I have created my attribute with the constructor as
follows:
Public Sub New(ByVal value As Object)
MyBase.New(value)
End Sub
now when I try to use it like this
<Att(1)>
it get the following error: conversion from integer to
system.object cannot occur in a constant experssion!
Note that this code runs perfectly on C#.. Any explenation
and solution plz.
Regards
follows:
Public Sub New(ByVal value As Object)
MyBase.New(value)
End Sub
now when I try to use it like this
<Att(1)>
it get the following error: conversion from integer to
system.object cannot occur in a constant experssion!
Note that this code runs perfectly on C#.. Any explenation
and solution plz.
Regards