Visual Basic (Declaration) | |
---|---|
Function WithLifetimeManager( _ ByVal manager As ILifetimeManager _ ) As IRegistration |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As IRegistration Dim manager As ILifetimeManager Dim value As IRegistration value = instance.WithLifetimeManager(manager) |
C# | |
---|---|
IRegistration WithLifetimeManager( ILifetimeManager manager ) |
Delphi | |
---|---|
function WithLifetimeManager( manager: ILifetimeManager ): IRegistration; |
JScript | |
---|---|
function WithLifetimeManager( manager : ILifetimeManager ) : IRegistration; |
Managed Extensions for C++ | |
---|---|
IRegistration* WithLifetimeManager( ILifetimeManager* manager ) |
C++/CLI | |
---|---|
IRegistration^ WithLifetimeManager( ILifetimeManager^ manager ) |
Parameters
- manager
- The ILifetimeManager to use.
Return Value
'this', or the Registration.Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family