GetTypeOrNull Method

Glimpse API

ObjectExtensions GetTypeOrNull Method Glimpse API Documentation
Returns the value of GetType if value is not null.

Namespace: Glimpse.Core.Extensions
Assembly: Glimpse.Core (in Glimpse.Core.dll) Version: 1.0.1.0 (1.0.1)

Syntax

public static Type GetTypeOrNull(
	this Object value
)
public static Type GetTypeOrNull(
	this Object value
)

Parameters

value
Type: OnlineSystem Object
The value.

Return Value

The value of GetType if value is not null.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type OnlineObject. When you use instance method syntax to call this method, omit the first parameter. For more information, see OnlineExtension Methods (Visual Basic) or OnlineExtension Methods (C# Programming Guide).
See Also