CodeDomEventBindingService.ShowCode 方法 (Int32)

此类型具有 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 ShowCode ( _
    lineNumber As Integer _
) As Boolean
protected override bool ShowCode(
    int lineNumber
)

参数

返回值

类型:System.Boolean
true ,如果打开编辑器窗口是可能的,否则 false。

请参见

参考

CodeDomEventBindingService 类

ShowCode 重载

Microsoft.VisualStudio.Shell.Design.Serialization.CodeDom 命名空间