'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.
Return Value
If hostElement is
null
, returns an empty computer element. Otherwise, returns a new ComputerElement that refers to the given host.