User Tools

Site Tools


api:dk11:delphi:gisinternals.issametype_tobject_tclass

Table of Contents

IsSameType(TObject; TClass) method

DK11 for Delphi | GisInternals.IsSameType | Overloads | Enums | Fields | Methods | Types

Check if object is of the specified type.

Syntax

// Delphi
function IsSameType(
  const _obj : TObject;
  const _type : TClass
) : Boolean; overload;
// C++ Builder
extern DELPHI_PACKAGE bool IsSameType(
  TObject* const _obj,
  TClass* const _type
) /* overload */;

Parameters

Name Type Description
_obj TObject Object.
_type TClass Specified type.

Result

Type Description
Boolean True if object type is the same as _type.
2017/09/04 11:15