SHDocVw.TShellNameSpace

From RAD Studio API Documentation
Jump to: navigation, search

Vcl.OleServer.TOleServerSystem.Classes.TComponentSystem.Classes.TPersistentSystem.TObjectTShellNameSpace

Delphi

TShellNameSpace = class(TOleServer)

C++

class PASCALIMPLEMENTATION TShellNameSpace : public Vcl::Oleserver::TOleServer

Properties

Type Visibility Source Unit Parent
class public
SHDocVw.pas
SHDocVw.hpp
SHDocVw SHDocVw

Description

TOleServer is the base class for components that represent an imported COM server.

SHDocVw.TShellNameSpace inherits from Vcl.OleServer.TOleServer. All content below this line refers to Vcl.OleServer.TOleServer.

TOleServer is the base class for components that represent an imported COM server.

TOleServer is the base class for COM servers that are imported by choosing Component | Import Component from the IDE. TOleServer introduces several properties and methods that manage the connection to a COM server and for invoking its default events.

Descendants of TOleServer expose the properties, methods, and events of the server CoClass. When an application calls one of the TOleServer descendant's methods or sets one of its properties, the component automatically establishes a connection to the COM server. You can also connect explicitly by calling the Connect method.

Do not create instances of TOleServer. TOleServer relies on abstract pure virtual methods to establish and break a connection to the COM server. Instead, use a descendant of TOleServer that wraps the desired server. Numerous TOleServer descendants are provided on the Servers tab of the Component Palette. In addition, you can create your own descendants by importing a server's type library.

See Also