Dela via


RemoteObject.GetType Method

This API supports the Visual Studio Tools for Applications infrastructure and is not intended to be used directly from your code.

Returns the remote type of the current RemoteObject.

Namespace:  Microsoft.VisualStudio.Tools.Applications
Assembly:  Microsoft.VisualStudio.Tools.Applications.Adapter.v9.0 (in Microsoft.VisualStudio.Tools.Applications.Adapter.v9.0.dll)

Syntax

'Declaration
Public Function GetType As Type
'Usage
Dim instance As RemoteObject 
Dim returnValue As Type 

returnValue = instance.GetType()
public Type GetType()
public:
Type^ GetType()
public function GetType() : Type

Return Value

Type: System.Type
The remote type of the current RemoteObject.

Exceptions

Exception Condition
ObjectDisposedException

The Dispose method has already been called on the current RemoteObject.

Remarks

If you cast RemoteObject to an Object, GetType returns the Type of RemoteObject.

See Also

Reference

RemoteObject Class

RemoteObject Members

Microsoft.VisualStudio.Tools.Applications Namespace