在派生类中重写时,返回与指定事件兼容的方法的名称。
命名空间: 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 命名空间