在衍生類別中覆寫時,傳回與指定事件相容的方法名稱。
命名空間: Microsoft.Windows.Design.Services
組件: Microsoft.Windows.Design.Interaction (在 Microsoft.Windows.Design.Interaction.dll 中)
語法
'宣告
Public MustOverride Function GetCompatibleMethods ( _
modelEvent As ModelEvent _
) As IEnumerable(Of String)
public abstract IEnumerable<string> GetCompatibleMethods(
ModelEvent modelEvent
)
public:
virtual IEnumerable<String^>^ GetCompatibleMethods(
ModelEvent^ modelEvent
) abstract
abstract GetCompatibleMethods :
modelEvent:ModelEvent -> IEnumerable<string>
public abstract function GetCompatibleMethods(
modelEvent : ModelEvent
) : IEnumerable<String>
參數
- modelEvent
型別:Microsoft.Windows.Design.Model.ModelEvent
與方法相容的事件。
傳回值
型別:System.Collections.Generic.IEnumerable<String>
與 modelEvent 相容的方法名稱。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。
請參閱
參考
Microsoft.Windows.Design.Services 命名空間