'Declaration<ExtensionAttribute()> Public Shared Function HasCapability( _ ByVal applicationElement As UAApplicationElement, _ ByVal capabilityIdentifier As String _ ) As Nullable(Of Boolean)
'UsageDim applicationElement As UAApplicationElement Dim capabilityIdentifier As String Dim value As Nullable(Of Boolean) value = UAApplicationElementExtension.HasCapability(applicationElement, capabilityIdentifier)
[Extension()] public static Nullable<bool> HasCapability( UAApplicationElement applicationElement, string capabilityIdentifier )
[Extension()] public: static Nullable<bool> HasCapability( UAApplicationElement^ applicationElement, String^ capabilityIdentifier )
Parameters
- applicationElement
- The application element to be examined.
The value of this parameter cannot be
null(Nothingin Visual Basic). - capabilityIdentifier
- The capability identifier.
The value of this parameter cannot be
null(Nothingin Visual Basic).
Return Value
true when the application described by the applicationElement supports the capability given by capabilityIdentifier. Returns false when the application described by the applicationElement does not support the capability given by capabilityIdentifier. Returns null when the capability information for the server is not available.