共用方式為


Type.isNamespace Method

Returns a value that indicates whether the specified object is a namespace. This is a static member that is invoked directly without creating an instance of the class.

Type.isNamespace(object);

Parameters

Parameter

Description

object

The object to test.

Return Value

true if the specified object is a namespace; otherwise, false.

See Also

Reference

Type Class