添加帮助主题以使用常数 HelpTopic 属性和帮助谓词的对话框使用的数据源。
命名空间: Microsoft.Internal.VisualStudio.PlatformUI
程序集: Microsoft.VisualStudio.Shell.11.0(在 Microsoft.VisualStudio.Shell.11.0.dll 中)
语法
声明
Public Shared Sub AddHelpTopic ( _
dataSource As UIDataSource, _
topic As String _
)
public static void AddHelpTopic(
UIDataSource dataSource,
string topic
)
参数
- dataSource
类型:Microsoft.Internal.VisualStudio.PlatformUI.UIDataSource
此时将使用的数据源。
- topic
类型:System.String
此时将显示的帮助主题。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。