Opc.Ua.RelativePathFormatter.IsEmpty C# (CSharp) Méthode

IsEmpty() public static méthode

Returns true if the relative path does not specify any elements.
public static IsEmpty ( RelativePathFormatter relativePath ) : bool
relativePath RelativePathFormatter
Résultat bool
        public static bool IsEmpty(RelativePathFormatter relativePath)
        {
            if (relativePath != null)
            {
                return relativePath.Elements.Count == 0;
            }

            return true;
        }