Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

HostServices Class

 

This API supports the product infrastructure and is not intended to be used directly from your code.

Returns a reference to and information about the current Visual Basic host window.

Namespace:   Microsoft.VisualBasic.CompilerServices
Assembly:  Microsoft.VisualBasic (in Microsoft.VisualBasic.dll)

System::Object
  Microsoft.VisualBasic.CompilerServices::HostServices

[HostProtectionAttribute(SecurityAction::LinkDemand, Resources = HostProtectionResource::SharedState)]
public ref class HostServices sealed 

NameDescription
System_CAPS_pubmethodHostServices()

This API supports the product infrastructure and is not intended to be used directly from your code. Initializes a new instance of the HostServices class.

NameDescription
System_CAPS_pubpropertySystem_CAPS_staticVBHost

This API supports the product infrastructure and is not intended to be used directly from your code. Gets the current Visual Basic host object.

NameDescription
System_CAPS_pubmethodEquals(Object^)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

This class supports the Visual Basic compiler and is not intended to be used directly from your code.

.NET Framework
Available since 1.1

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show:
© 2017 Microsoft