此类型具有 SecurityCriticalAttribute 特性,此特性将其限定为只能由 .NET Framework for Silverlight 类库在内部使用。使用此类型的任何成员的应用程序代码将引发 MethodAccessException。
[SECURITY CRITICAL]
创建一个方法名称事件。
命名空间: Microsoft.VisualStudio.Shell.Design.Serialization.CodeDom
程序集: Microsoft.VisualStudio.Shell.Design(在 Microsoft.VisualStudio.Shell.Design.dll 中)
语法
声明
Protected Overrides Function CreateUniqueMethodName ( _
component As IComponent, _
e As EventDescriptor _
) As String
protected override string CreateUniqueMethodName(
IComponent component,
EventDescriptor e
)
参数
- component
类型:System.ComponentModel.IComponent
IComponent .
返回值
类型:System.String
唯一的名称。
请参见
参考
Microsoft.VisualStudio.Shell.Design.Serialization.CodeDom 命名空间