'Declaration
<NotNullAttribute()> Public Shared Function FromHostElement( _ ByVal hostElement As HostElement _ ) As ComputerElement
'Usage
Dim hostElement As HostElement Dim value As ComputerElement value = ComputerElement.FromHostElement(hostElement)
[NotNull()] public static ComputerElement FromHostElement( HostElement hostElement )
[NotNull()] public: static ComputerElement^ FromHostElement( HostElement^ hostElement )
Parameters
- hostElement
- The host element to be converted.
The value of this parameter can be
null
(Nothing
in Visual Basic).
Return Value
If hostElement is
null
, returns an empty computer element. Otherwise, returns a new ComputerElement that refers to the given host.
This method never returns null
(Nothing
in Visual Basic).