Share via


Statement only valid within a method (Error 1934)

You have attempted to use the :: (scope resolution) operator outside of a method. Since the scope operator is driven from the THIS object reference, it can only be used within a method.