确定是否存在具有指定名称的一个同级 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
)
参数
- name
类型:System.String
请求的同级 DocData的文件名。
返回值
类型:System.Boolean
true ,如果给定文件存在该项目,否则 false。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。