| Visual Basic (Declaration) | |
|---|---|
Overloads Public Shared Function IsRegistered(Of T As ICommandRequestValidator)() As Boolean | |
| Visual Basic (Usage) | Copy Code |
|---|---|
Dim value As Boolean value = CommandRequestValidationManager.IsRegistered(Of T)() | |
| C# | |
|---|---|
public static bool IsRegistered<T>()where T: ICommandRequestValidator | |
| C++/CLI | |
|---|---|
public: static bool IsRegisteredgeneric<typename T> (); where T: ICommandRequestValidator | |
Type Parameters
- T
- The typeof validtor to check.
Return Value
true if this validator type is registered; otherwise, false.Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7
Copy Code