Condividi tramite


DesignerDocDataService.HasChild Method

Determines whether or not there is a child DocData with a given name.

Namespace:  Microsoft.VisualStudio.Shell.Design.Serialization
Assembly:  Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)

Syntax

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

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

Parameters

Return Value

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

.NET Framework Security

See Also

Reference

DesignerDocDataService Class

DesignerDocDataService Members

Microsoft.VisualStudio.Shell.Design.Serialization Namespace