IsRegistered(string) Method

Summary
Determines whether the specified name is registered.
Syntax
C#
C++/CLI
public static bool IsRegistered( 
   string name 
) 
public: 
static bool IsRegistered(  
   String^ name 
)  

Parameters

name
The name to check.

Return Value

true if the specified name is registered; otherwise, false.

Remarks

Given the following instance:

  • IColor myRed

There are two ways to Register the instance myRed:

  1. Type
  2. Type, Name

IsRegisteredInstanceTypeWithoutName has the following behavior:

  • Returns true if (1)
  • Returns false if (2)

The IsRegistered method has a different behavior:

  • Returns true if (1)
  • Returns true if (2)
Requirements

Target Platforms

Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Dicom.AddIn Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.