public static string GetAttributeDescription(ImaqdxSessionHandle session, string name) { Debug.Assert(session != null, "The session parameter cannot be null."); Debug.Assert(!session.IsInvalid, "The session parameter must be a valid handle."); Debug.Assert(name != null, "The name parameter cannot be null."); string description; int status = NiImaqdxDll.IMAQdxGetAttributeDescriptionCW(session, name, out description); ExceptionBuilder.CheckErrorAndThrow(status); return(description == null ? string.Empty : description); }