我尝试用C#完成MS的LIGHTSWITCHTraining Kit,可是下面这行代码用在线转换得到的结果报错,请指导。VB.Net:
Public Shared ReadOnly ApplicationkeyProperty As DependencyProperty = DependencyProperty.Register(BingMap.ApplicationkeyPropertyName,GetType(String),GetType(BingMap),New PropertyMetadata(AddressOf OnApplicationkeyChanged))在线转换的结果是:
public static readonly DependencyProperty ApplicationkeyProperty = DependencyProperty.Register(BingMap.ApplicationkeyPropertyName, typeof(string), typeof(BingMap), new PropertyMetadata(OnApplicationkeyChanged));
报当前上下文中不存在OnApplicationkeyChanged.
Public Shared ReadOnly ApplicationkeyProperty As DependencyProperty = DependencyProperty.Register(BingMap.ApplicationkeyPropertyName,GetType(String),GetType(BingMap),New PropertyMetadata(AddressOf OnApplicationkeyChanged))在线转换的结果是:
public static readonly DependencyProperty ApplicationkeyProperty = DependencyProperty.Register(BingMap.ApplicationkeyPropertyName, typeof(string), typeof(BingMap), new PropertyMetadata(OnApplicationkeyChanged));
报当前上下文中不存在OnApplicationkeyChanged.
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货