Condividi tramite


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

'Dichiarazione
Public Function HasSibling ( _
    name As String _
) As Boolean
'Utilizzo
Dim instance As DesignerDocDataService
Dim name As String
Dim returnValue As Boolean

returnValue = instance.HasSibling(name)
public bool HasSibling(
    string name
)
public:
bool HasSibling(
    String^ name
)
member HasSibling : 
        name:string -> bool 
public function HasSibling(
    name : String
) : boolean

Parameters

Return Value

Type: System.Boolean
true if the given file exists in the project, otherwise false.

.NET Framework Security

See Also

Reference

DesignerDocDataService Class

DesignerDocDataService Members

Microsoft.VisualStudio.Shell.Design.Serialization Namespace