DesignerDocDataService.HasSibling 方法

确定是否存在具有指定名称的一个同级 DocData

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

语法

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

参数

返回值

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

.NET Framework 安全性

请参见

参考

DesignerDocDataService 类

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