The scope resolution operator should sit between the class name and the static property you wish to access.
范围解析操作符应位于类名和希望访问的静态属性之间。
To call a static method from outside of its class, use the class name together with the scope resolution operator and the name of the method.
要从类外部调用静态方法,可使用类名加上范围解析符和方法名。
After the name of a class or structure, type the members access operator or scope operator (as shown earlier in this topic).
在类别或结构的名称后面,输入成员存取运算子或范围运算子(如本主题稍早所述)。
After the name of a class or structure, type the members access operator or scope operator (as shown earlier in this topic).
在类别或结构的名称后面,输入成员存取运算子或范围运算子(如本主题稍早所述)。
应用推荐