将一个新 ContextLinkBase 对象添加到 ContextLinkBaseCollection,同时指示目标节点及其类型。
命名空间: System.Windows.Ink.AnalysisCore
程序集: IACore(在 IACore.dll 中)
语法
声明
Public Function Add ( _
destinationNode As ContextNodeBase, _
linkDirection As ContextLinkDirection _
) As ContextLinkBase
用法
Dim instance As ContextLinkBaseCollection
Dim destinationNode As ContextNodeBase
Dim linkDirection As ContextLinkDirection
Dim returnValue As ContextLinkBase
returnValue = instance.Add(destinationNode, _
linkDirection)
public ContextLinkBase Add(
ContextNodeBase destinationNode,
ContextLinkDirection linkDirection
)
public:
ContextLinkBase^ Add(
ContextNodeBase^ destinationNode,
ContextLinkDirection linkDirection
)
public ContextLinkBase Add(
ContextNodeBase destinationNode,
ContextLinkDirection linkDirection
)
public function Add(
destinationNode : ContextNodeBase,
linkDirection : ContextLinkDirection
) : ContextLinkBase
参数
- destinationNode
类型:System.Windows.Ink.AnalysisCore.ContextNodeBase
要链接到的 ContextNodeBase。
- linkDirection
类型:System.Windows.Ink.AnalysisCore.ContextLinkDirection
链接的方向。
返回值
类型:System.Windows.Ink.AnalysisCore.ContextLinkBase
平台
Windows Vista, Windows XP SP2, Windows Server 2003
.NET Framework 和 .NET Compact Framework 并不是对每个平台的所有版本都提供支持。有关支持的版本的列表,请参见.NET Framework 系统要求。
版本信息
.NET Framework
受以下版本支持:3.0