GlobalInterfaces.Add Method
Adds an interface to the global interfaces collection by type.
Namespace: Microsoft.Uii.Desktop.Core
Assembly: Microsoft.Uii.Desktop.Core (in Microsoft.Uii.Desktop.Core.dll)
Usage
'Usage
Dim instance As GlobalInterfaces
Dim appName As String
Dim app As Object
Dim returnValue As Boolean
returnValue = instance.Add(appName, app)
Syntax
'Declaration
Public Function Add(Of T) ( _
appName As String, _
app As Object _
) As Boolean
public bool Add<T> (
string appName,
Object app
)
public:
generic<typename T>
bool Add (
String^ appName,
Object^ app
)
GenericParameters
- T
Specifies the type of interface to add.
Parameters
- appName
Specifies the name of the application
- app
Specifies the application object.
Return Value
Type: Boolean
True if the interface is successfully added, otherwise false.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
See Also
Reference
GlobalInterfaces Class
GlobalInterfaces Members
Microsoft.Uii.Desktop.Core Namespace
Unified Service Desk
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.