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
name
Type: System.StringThe name of the requested child.
Return Value
Type: System.Boolean
true if the given child 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.