Share via


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

'Declaration
Public Function HasChild ( _
    name As String _
) As Boolean
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

Microsoft.VisualStudio.Shell.Design.Serialization Namespace