DesignerDocDataService.HasChild 方法

确定是否具有特定 name的子级 DocData

命名空间:  Microsoft.VisualStudio.Shell.Design.Serialization
程序集:  Microsoft.VisualStudio.Shell.Design(在 Microsoft.VisualStudio.Shell.Design.dll 中)

语法

声明
Public Function HasChild ( _
    name As String _
) As Boolean
public bool HasChild(
    string name
)

参数

返回值

类型:System.Boolean
true ,如果特定子项存在该项目,否则 false。

.NET Framework 安全性

请参见

参考

DesignerDocDataService 类

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