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
- name
Type: System.String
The 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.