DesignerDocDataService.HasSibling Method
Determines whether or not there is a sibling DocData with the specified name.
Namespace: Microsoft.VisualStudio.Shell.Design.Serialization
Assembly: Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)
Syntax
'Declaration
Public Function HasSibling ( _
name As String _
) As Boolean
public bool HasSibling(
string name
)
public:
bool HasSibling(
String^ name
)
member HasSibling :
name:string -> bool
public function HasSibling(
name : String
) : boolean
Parameters
name
Type: StringThe filename of the requested sibling DocData.
Return Value
Type: Boolean
true if the given file exists in the project, otherwise false.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.