I need help converting a c# anonymous method to vb.net

前端 未结 3 1759
清歌不尽
清歌不尽 2020-12-21 12:08
provider.OptionsSet += delegate
{
  provider.FinishedLoading();
};
3条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-21 12:43

    provider.OptionsSet += Function() Do
        provider.FinishedLoading() 
    End Function 
    

    This is taken from http://www.developerfusion.com/tools/convert/csharp-to-vb/, so I haven't tested it. It might be more helpful if you were able to provide more context. What is this being used for?

提交回复
热议问题